mirror of
https://github.com/k88hudson/git-flight-rules.git
synced 2025-03-10 12:48:43 -03:00
Clarify the use of --amend (#354)
Co-authored-by: Richard Littauer <richard.littauer@gmail.com>
This commit is contained in:
parent
0b1f7bcdaf
commit
c3df156871
@ -625,7 +625,7 @@ This tells rebase that you want to edit your third last commit and keep the othe
|
|||||||
(your-branch)$ git commit --amend
|
(your-branch)$ git commit --amend
|
||||||
```
|
```
|
||||||
|
|
||||||
which tells Git to recreate the commit, but to leave the commit message unedited. Having done that, the hard part is solved.
|
which tells Git to recreate the commit. Also, Git will ask you to write a new commit message, using the original commit message as a starting point. Having done that, the hard part is solved.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
(your-branch)$ git rebase --continue
|
(your-branch)$ git rebase --continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user