Is there an easy way to make Git always signs each commit or tag that is created?
I tried it with something like:
alias commit = commit -S
But that didn't do the trick.
I don't want to install a different program to make this happen. Is it doable with ease?
Just a side question, maybe commits shouldn't be signed, only tags, which I never create, as I submit single commits for a project like Homebrew, etc.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…