Skip to content

Instantly share code, notes, and snippets.

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

Embed
What would you like to do?
Git config
[user]
name = Jan Majek
email = jan.majek@ft.com
[push]
# Pushes only curent branch upstream (as opposed to "matching" (default) which would push all branches)
# default = upstream
[credential]
# helper = osxkeychain
[help]
# If there is only one matching command, it will execute it after X dediseconds (1/10s)
autocorrect = 1
[color]
# Colors the output by default
ui = true
[alias]
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}..
[branch]
autosetupmerge = true
[core]
# 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.