diff --git a/users/myuser/git.nix b/users/myuser/git.nix index fe905c8..a2e4654 100644 --- a/users/myuser/git.nix +++ b/users/myuser/git.nix @@ -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.