Skip to content

Instantly share code, notes, and snippets.

@atkit
Last active January 3, 2016 14:19
Show Gist options
  • Save atkit/8475009 to your computer and use it in GitHub Desktop.
Save atkit/8475009 to your computer and use it in GitHub Desktop.
.gitconfig stub
[user]
name = "<YOUR NAME>"
email = "<E-MAIL>"
[alias]
co = checkout
ci = commit
st = status
br = branch
lol = log --graph --decorate --pretty=oneline --abbrev-commit
l = log --pretty=oneline --graph --abbrev-commit --stat
unci = reset --soft HEAD^
undo = reset --hard
stat = show --stat
sub = submodule update --init --recursive
[apply]
whitespace = nowarn
[color]
ui = auto
diff = auto
status = auto
branch = auto
[core]
quotepath = false
excludesfile = ~/.gitignore_global
[difftool]
prompt = false
[mergetool]
prompt = false
[merge]
ff = false
commit = false
[push]
default = simple
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment