Skip to content

Instantly share code, notes, and snippets.

@yrcjaya
Last active November 21, 2015 09:56
Show Gist options
  • Save yrcjaya/89cbf651775a748e6f93 to your computer and use it in GitHub Desktop.
Save yrcjaya/89cbf651775a748e6f93 to your computer and use it in GitHub Desktop.
My Git Config
[include]
path = .gitconfig.local
[core]
editor = /usr/bin/vim
autocrlf = input
packedGitLimit = 64m
packedGitWindowSize = 64m
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = auto
[pack]
threads = 2
deltaCacheSize = 64m
packSizeLimit = 64m
windowMemory = 64m
[push]
default = current
[gc]
auto=1
[merge]
summary=true
[alias]
glog = log --graph
oglog = log --graph --oneline
hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
unstage = reset HEAD
uncommit = reset --soft HEAD^
ls = ls-files
branches = branch -vv
remotes = remote -v
assume = update-index --assume-unchanged
unassume = update-index --no-assume-unchanged
rup = !git remote update `git rev-parse --symbolic-full-name HEAD@{u}|cut -d/ -f3`
in = !git glog HEAD..HEAD@{u}
out = !git glog HEAD@{u}..HEAD
[diff]
algorithm = patience
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment