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