Changes

Jump to: navigation, search

DPS909 & OSD600 Winter 2017 - Git Walkthrough

17 bytes added, 11:48, 16 January 2017
Step 7: fixing common mistakes
<pre>
$ git add docs/_includes/callout-warning-color-assistive-technologies.md
$ git commit --amend--no-edit
</pre>
This NOTE: you can also use this method to fix a typo in your commit message, just leave off the <code>--no-edit</code> flag. Doing so will cause git to open your editor and let you edit your previous commit message. If you like it as is, just save the file and exit. NOTE: you can also use this method to fix a typo in your commit message, since it gives you a chance to change things.
After amending my commit, I can <code>git show</code> the commit and prove to myself that both uses of '''color''' have in fact been changed:

Navigation menu