Files
scripts/config/.gitconfig
2020-02-24 22:02:58 +00:00

44 lines
1.0 KiB
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
[url "https://vishap@github.com/"]
insteadOf = github:
[url "https://gitlab.com/"]
insteadOf = gitlab:
[url "http://192.168.0.4:8080/"]
insteadOf = mylab:
[pager]
branch = false