Anonymous user
OpenHatch git workflow: Difference between revisions
→Committing a patch: Better wording, fix grammar. Add in some notes. Add shell symbols.
imported>Jacquiesue No edit summary |
imported>MarkTraceur (→Committing a patch: Better wording, fix grammar. Add in some notes. Add shell symbols.) |
||
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 =
|