Anonymous user
OpenHatch git workflow: Difference between revisions
m
→Resources
imported>Jacquiesue No edit summary |
imported>Jacquiesue m (→Resources) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 8:
= Committing a patch =
#After you have already retreived your respository of code
##<code>$ git status</code> (make sure the right files are listed here)
##<code>$ git add <file(s)></code>
##<code>$ git commit -m "Short message explaining your fix"</code>
###Note: If you want to submit everything listed in 'Unstaged changes' in <code>git status</code>, you can just do <code>$ git commit -a -m "Short message explaining your fix"</code>, and skip the previous two steps.
##<code>git log -p</code> (opens in less editor)▼
##<code>$ git
###Note: This is just to help you verify that your commit took effect correctly. If it didn't, there were likely errors in one or more of the above steps.
#Now git any updates that may have occurred since you last did a <code>git clone</code> or a <code>git fetch</code>▼
##<code>$ git
▲#Now
##<code>
##<code>$ git
###Note: This is just to help you verify that your commit took effect correctly. If it didn't, there were likely errors in one or more of the above steps.
= Submitting a patch =
Line 38:
= Resources =
* http://
* http://git-scm.com/documentation
= See also =
Line 44 ⟶ 45:
* [[How we handle patches]]
[[Category:Hacking_OpenHatch]]
[[Category:Git_OpenHatch]]
|