diff --git a/knowledge base/find.md b/knowledge base/find.md index 9c0d7a7..753d322 100644 --- a/knowledge base/find.md +++ b/knowledge base/find.md @@ -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). diff --git a/knowledge base/git.md b/knowledge base/git.md index d104b47..241baa9 100644 --- a/knowledge base/git.md +++ b/knowledge base/git.md @@ -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}..