mirror of
https://github.com/k88hudson/git-flight-rules.git
synced 2025-03-10 12:48:43 -03:00
Added commit amend simple message
This commit is contained in:
parent
fc2ec9c64a
commit
e575e47aaa
@ -17,6 +17,12 @@ A [guide for astronauts](http://www.jsc.nasa.gov/news/columbia/fr_generic.pdf) (
|
||||
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 parentheses, and a `*` next to the branch name indicates staged changes.
|
||||
|
||||
<a name="amend"></a>
|
||||
## I wrote the wrong thing in a commit message
|
||||
|
||||
```sh
|
||||
git commit --amend
|
||||
```
|
||||
|
||||
## I need to add staged changes to the previous commit
|
||||
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user