add git commit signing
This commit is contained in:
parent
8c48ef0b5b
commit
14a75dc1bf
|
@ -12,7 +12,10 @@
|
||||||
userName = "Anish Lakhwara";
|
userName = "Anish Lakhwara";
|
||||||
userEmail = "anish+git@lakhwara.com";
|
userEmail = "anish+git@lakhwara.com";
|
||||||
delta.enable = true;
|
delta.enable = true;
|
||||||
# TODO enable signing
|
signing = {
|
||||||
|
signByDefault = true;
|
||||||
|
key = "7FC5DF072EF7B716";
|
||||||
|
};
|
||||||
|
|
||||||
ignores = [
|
ignores = [
|
||||||
"*~"
|
"*~"
|
||||||
|
@ -56,6 +59,7 @@
|
||||||
pull.rebase = false;
|
pull.rebase = false;
|
||||||
push.autoSetupRemote = true;
|
push.autoSetupRemote = true;
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
|
"url \"git@github.com:\"" = { insteadOf = "https://github.com/"; };
|
||||||
};
|
};
|
||||||
|
|
||||||
aliases = {
|
aliases = {
|
||||||
|
@ -94,6 +98,8 @@
|
||||||
|
|
||||||
# delete merged branches
|
# delete merged branches
|
||||||
bdm = "!git branch --merged | grep -v '*' | xargs -n 1 git branch -d";
|
bdm = "!git branch --merged | grep -v '*' | xargs -n 1 git branch -d";
|
||||||
|
undo = "!git reset HEAD~1 --mixed";
|
||||||
|
blm = "blame -w -C -C -C";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue