update gitconfig example
This commit is contained in:
@@ -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 и в качестве справки хочу порекомендовать:
|
||||
|
||||
Reference in New Issue
Block a user