forked from mirrors_public/oddlama_nix-config
fix: force git commit signing the proper way
This commit is contained in:
parent
8a86a2992f
commit
ffbef38f96
1 changed files with 1 additions and 1 deletions
|
@ -43,6 +43,7 @@
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
merge.conflictstyle = "diff3";
|
merge.conflictstyle = "diff3";
|
||||||
mergetool.prompt = true;
|
mergetool.prompt = true;
|
||||||
|
commit.gpgsign = true;
|
||||||
pull.rebase = true;
|
pull.rebase = true;
|
||||||
push.autoSetupRemote = true;
|
push.autoSetupRemote = true;
|
||||||
};
|
};
|
||||||
|
@ -51,7 +52,6 @@
|
||||||
s = "status";
|
s = "status";
|
||||||
tags = "tag -l";
|
tags = "tag -l";
|
||||||
t = "tag -s -m ''";
|
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'';
|
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.
|
# An alias that uses the previous commit message by default.
|
||||||
# Useful when you mess up entering the signing password and git aborts.
|
# Useful when you mess up entering the signing password and git aborts.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue