This commit is contained in:
Kate Hudson 2014-07-22 16:46:24 -04:00
parent 45725ed8b9
commit 1a9c54d73b
1 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,11 @@
# Flight rules for git
## Adding unstaged changes to the previous commit
## Conventions for this document
For clarity's sake all examples in this document use customized bash prompt in order to indicate the current branch and whether or not there are staged changes. The branch is enclosed in brackets, and a `*` next to the branch name indicates staged changes.
## Adding staged changes to the previous commit
```
(my-branch*)$ git commit --amend