Skip to content

Instantly share code, notes, and snippets.

@okonet
Created July 31, 2016 07:56
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save okonet/515575895658e7889c8b5348c3346cfb to your computer and use it in GitHub Desktop.
Save okonet/515575895658e7889c8b5348c3346cfb to your computer and use it in GitHub Desktop.
My Git Config
[core]
excludesfile = ~/.gitignore
autocrlf = false
pager = diff-so-fancy | less --tabs=4 -RFX
[alias]
st = status -sb
ci = commit
co = checkout
br = branch
df = diff --word-diff
dc = diff --cached
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
pl = pull
pr = pull --rebase
[color]
branch = auto
diff = auto
interactive = auto
status = auto
[merge]
tool = opendiff
[push]
default = tracking
[branch]
autosetuprebase = always
[filter "lfs"]
required = true
clean = git-lfs clean %f
smudge = git-lfs smudge %f
[help]
autocorrect = -1
[interactive]
diffFilter = diff-highlight
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment