Added command example to git notes

This commit is contained in:
Michele Cereda
2022-04-28 12:35:59 +02:00
parent 031061599f
commit b1f28f5645
2 changed files with 4 additions and 1 deletions

View File

@@ -89,6 +89,9 @@ git config user.name "user name"
git config user.email user.email@mail.com
git commit --amend --reset-author
# Sign the last commit.
git commit --amend --no-edit --gpg-sign
# Show commits which would be pushed.
git log @{u}..