Enable gpg git signing
This commit is contained in:
parent
217026d0a4
commit
c04240b646
1 changed files with 5 additions and 4 deletions
|
@ -18,10 +18,11 @@
|
||||||
|
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
# Sign all commits using ssh key
|
# Sign all commits using ssh key
|
||||||
commit.gpgsign = false;
|
commit.gpgsign = true;
|
||||||
gpg.format = "ssh";
|
user.signingkey = "0x2C2C1C62A5388E82";
|
||||||
gpg.ssh.allowedSignersFile = "~/.ssh/allowed_signers";
|
# gpg.format = "ssh";
|
||||||
user.signingkey = "~/.ssh/git.pub";
|
# gpg.ssh.allowedSignersFile = "~/.ssh/allowed_signers";
|
||||||
|
# user.signingkey = "~/.ssh/git.pub";
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue