Skip to content

Instantly share code, notes, and snippets.

@jancimajek jancimajek/.gitconfig
Last active Aug 29, 2015

What would you like to do?
Git config
name = Jan Majek
email =
# Pushes only curent branch upstream (as opposed to "matching" (default) which would push all branches)
# default = upstream
# helper = osxkeychain
# If there is only one matching command, it will execute it after X dediseconds (1/10s)
autocorrect = 1
# Colors the output by default
ui = true
st = status
ci = commit
br = branch
co = checkout
df = diff
dc = diff --cached
lg = log -p
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
ls = ls-files
# Show files ignored by git:
ign = ls-files -o -i --exclude-standard
# Show unpushed commits in current branch
lolu = log --graph --decorate --pretty=oneline --abbrev-commit @{u}..
autosetupmerge = true
# autocrlf = input
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.