config/gitconfig

41 lines
782 B
Text

[user]
name = Sami Samhuri
email = sami.samhuri@gmail.com
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
co = checkout
b = branch
d = diff
lo = log --oneline
a = add
c = commit
[push]
default = tracking
[branch]
autosetuprebase = always
autosetupmerge = true
[github]
user = samsonjs
token = xxx
[core]
quotepath = false
whitespace = trailing-space,space-before-tab
excludesfile = ~/config/gitignore
[diff]
mnemonicprefix = true
renames = copies
[advice]
statusHints = false
pushNonFastForward = false
[color]
ui = auto
[merge]
stat = true
[difftool]
prompt = false
[difftool "FileMerge"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
[credential]
helper = osxkeychain