mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
Added command example to git notes
This commit is contained in:
@@ -84,7 +84,7 @@ Accepted time information:
|
|||||||
- `c` for the time of last change of file status information (creation)
|
- `c` for the time of last change of file status information (creation)
|
||||||
- `m` for the file's last modification time
|
- `m` for the file's last modification time
|
||||||
- `B` for the file's inode creation 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 `-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).
|
With the `-Xtime` form, times depend on the given unit; if no unit is given, it defaults to full 24 hours periods (days).
|
||||||
|
|||||||
@@ -89,6 +89,9 @@ git config user.name "user name"
|
|||||||
git config user.email user.email@mail.com
|
git config user.email user.email@mail.com
|
||||||
git commit --amend --reset-author
|
git commit --amend --reset-author
|
||||||
|
|
||||||
|
# Sign the last commit.
|
||||||
|
git commit --amend --no-edit --gpg-sign
|
||||||
|
|
||||||
# Show commits which would be pushed.
|
# Show commits which would be pushed.
|
||||||
git log @{u}..
|
git log @{u}..
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user