This commit is contained in:
Роман Аникеев 2024-11-07 03:39:45 +03:00
parent 9b46a2152e
commit a98a9e86bf
Signed by: ARNik
SSH Key Fingerprint: SHA256:F1x9evuaS3PplG/HMbbzAvakgX0qxDsYIqRqw75cQhE

View File

@ -25,3 +25,32 @@ git config --global gpg.ssh.allowedSignersFile "~/.ssh/allowed_signers" # До
git config --global commit.gpgsign true # Автоподпись для коммитов
git config --global tag.gpgsign true # Автоподпись для тэгов
```
Таким образом мой файл .gitconfig теперь выглядит так:
```
[user]
name = ARNik
email = r.anikeev@gmail.com
signingkey = ~/.ssh/id_rsa.pub
[color]
ui = true
[core]
quotepath = off # отображение русских имен файлов
[alias]
ll = log --oneline --graph --decorate --all
st = status --short
co = checkout
br = branch
ct = commit
lg = log --graph --all\
--pretty=format:'%Cred%h%Creset -%C(auto)%d %Creset%s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
[gpg]
format = ssh
[gpg "ssh"]
allowedSignersFile = ~/.ssh/allowed_signers
[commit]
gpgsign = true
[tag]
gpgsign = true
```