Skip to content

Instantly share code, notes, and snippets.

@shytikov
Last active May 5, 2017 12:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shytikov/2352064 to your computer and use it in GitHub Desktop.
Save shytikov/2352064 to your computer and use it in GitHub Desktop.
.gitconfig config file
[user]
name =
email =
[log]
decorate = short
[color]
ui = auto
status = auto
diff = auto
[alias]
ad = add .
bd = branch --edit-description
br = branch
ci = commit
ca = commit --amend
cm = commit -m
cv = commit -v
co = checkout
cb = checkout -b
cp = cherry-pick
di = diff
dn = diff --name-only
ds = diff --name-status
dc = diff --cached
dt = difftool
gn = grep --name-only
lg = log --graph
lp = log --graph --decorate --pretty=oneline --abbrev-commit
ll = log --date=local
lo = log --oneline
mm = merge master
mt = mergetool
st = status
wc = whatchanged
[diff]
tool = vimdiff
[difftool]
prompt = false
[merge]
tool = vimdiff
[mergetool]
prompt = false
[core]
autocrlf = true
quotepath = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment