mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
add Git config
This commit is contained in:
parent
2e49567620
commit
e816e428cf
1 changed files with 29 additions and 0 deletions
29
gitconfig
Normal file
29
gitconfig
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
[color]
|
||||||
|
ui = true
|
||||||
|
|
||||||
|
[log]
|
||||||
|
abbrevCommit = true
|
||||||
|
decorate = true
|
||||||
|
[format]
|
||||||
|
pretty = %C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)
|
||||||
|
|
||||||
|
[core]
|
||||||
|
pager = diff-so-fancy | less --tabs=4 -RFX
|
||||||
|
|
||||||
|
[color "diff-highlight"]
|
||||||
|
oldNormal = red bold
|
||||||
|
oldHighlight = red bold 52
|
||||||
|
newNormal = green bold
|
||||||
|
newHighlight = green bold 22
|
||||||
|
[color "diff"]
|
||||||
|
meta = yellow
|
||||||
|
frag = magenta bold
|
||||||
|
commit = yellow bold
|
||||||
|
old = red bold
|
||||||
|
new = green bold
|
||||||
|
whitespace = red reverse
|
||||||
|
|
||||||
|
[alias]
|
||||||
|
tree = log --all --graph
|
||||||
|
unstage = reset HEAD
|
||||||
|
discard = checkout
|
Loading…
Reference in a new issue