Clarify the use of --amend

This commit try to clarify the use of --amend. Now it mentions that the
command will ask for a commit message.

Closes: #353
This commit is contained in:
Emmanuel Arias 2023-06-17 21:02:19 -03:00
parent aefc20702d
commit 02d83f4315
No known key found for this signature in database
GPG Key ID: FA9DEC5DE11C63F1
1 changed files with 1 additions and 1 deletions

View File

@ -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
```
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
(your-branch)$ git rebase --continue