Git Commands Cheatsheet
Git Commands Cheatsheet

Git Commands Cheatsheet

Published
June 8, 2023
Tags
git
Living Doc
Author
Commands
Description
git log --show-signature
git log but with signature
git commit --amend --no-edit -s
sign the latest commit with no message change
git stash -m <message>
git stash with message
git rebase --exec 'git commit --amend --no-edit -n -S' -i origin/main
sign all rebased commits over origin/main branch
git config commit.gpgsign true
Setting auto signing in commits
git config gpg.format ssh