diff --git a/src/GIT-config.md b/src/GIT-config.md index 9103e29..00ce07d 100644 --- a/src/GIT-config.md +++ b/src/GIT-config.md @@ -36,6 +36,7 @@ git config --global fetch.prune true # Автоматическая [user] name = ARNik email = arnik@arnik.ru + signingkey = AEBB0598F42201E3 [color] ui = true [core] @@ -47,9 +48,19 @@ git config --global fetch.prune true # Автоматическая co = checkout br = branch 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\ - --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 и в качестве справки хочу порекомендовать: