Files
scripts/config/.gitconfig
2020-03-01 19:15:19 +00:00

33 lines
850 B
INI

[user]
name = Vahagn Khachatryan
email = vahagn.khachatryan@gmail.com
[color]
diff = auto
status = auto
[push]
default = simple
[alias]
tree = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold cyan)<%an>%Creset' --abbrev-commit --date=relative
top = "!f() { GIT_TOP=\"${GIT_DIR%%/.git/modules/*}\"; [ \".$GIT_TOP\" != \".$GIT_DIR\" ] && cd \"$GIT_TOP\"; exec \"$@\"; }; f"
st = status
br = branch
co = checkout
ci = commit
svnsync = "!f(){ git co master && git pull && ssh devgit svnsync $(git config --get remote.origin.url | cut -d : -f 2 );}; f"
[merge]
tool = vimdiff
conflictstyle = diff3
[mergetool]
prompt = false
[include]
path = ~/.gitconfig.local
[core]
excludesfile = ~/.gitignore.global
autocrlf = false
pager = less -F -X
[credentail]
helper = cache
[pager]
branch = false