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

@@ -84,7 +84,7 @@ Accepted time information:
- `c` for the time of last change of file status information (creation)
- `m` for the file's last modification time
- `B` for the file's inode creation time
With the `-Xmin` form, times are rounded up to the next full **minute**. This is the same as using `-Xtime Nm`.
With the `-Xtime` form, times depend on the given unit; if no unit is given, it defaults to full 24 hours periods (days).

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}..