type
status
date
slug
summary
tags
category
icon
password
Tweet
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 | ㅤ |
ㅤ | ㅤ |
Notes
- always
git stash
with a message unless you know for sure you are getting back to it within a few minutes, even so it is so hard to type a quick message for it