1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

feat: always gpg-sign on git rebase

This commit is contained in:
oddlama 2023-09-18 02:13:23 +02:00
parent 905ea34de9
commit a0f5d365eb
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A

View file

@ -19,6 +19,7 @@
s = "status";
tags = "tag -l";
t = "tag -s -m ''";
rebase = "rebase --gpg-sign";
fixup = ''!f() { TARGET=$(git rev-parse "$1"); git commit --fixup=$TARGET ''${@:2} && EDITOR=true git rebase -i --gpg-sign --autostash --autosquash $TARGET^; }; f'';
# An alias that uses the previous commit message by default.
# Useful when you mess up entering the signing password and git aborts.