update gitconfig example

This commit is contained in:
2026-01-16 21:35:01 +03:00
parent 6c10f518ce
commit d91bdd1fc0

View File

@@ -36,6 +36,7 @@ git config --global fetch.prune true # Автоматическая
[user] [user]
name = ARNik name = ARNik
email = arnik@arnik.ru email = arnik@arnik.ru
signingkey = AEBB0598F42201E3
[color] [color]
ui = true ui = true
[core] [core]
@@ -47,9 +48,19 @@ git config --global fetch.prune true # Автоматическая
co = checkout co = checkout
br = branch br = branch
ct = commit ct = commit
sign = commit --amend --no-edit -S
unsign = commit --amend --no-edit
signoff = commit --amend --no-edit -s
pr = remote prune origin
lg = log --graph --all\ lg = log --graph --all\
--pretty=format:'%Cred%h%Creset -%C(auto)%d %Creset%s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --pretty=format:'%Cred%h%Creset -%C(auto)%d %Creset%s %Cgreen(%cr) %C(bold blue)<%an>%Creset %G?'
# to pevent "fatal: detected dubious ownership in repository"
[safe]
directory = *
[gpg "ssh"]
allowedSignersFile = ~/.ssh/allowed_signers
``` ```
--- ---
Для изучения Git и в качестве справки хочу порекомендовать: Для изучения Git и в качестве справки хочу порекомендовать: