Skip to content

Instantly share code, notes, and snippets.

@tamast
Last active January 4, 2016 00:09
Show Gist options
  • Save tamast/8540004 to your computer and use it in GitHub Desktop.
Save tamast/8540004 to your computer and use it in GitHub Desktop.
gitconfig
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
lg = log -p
xlog = log --graph --decorate --pretty=oneline --abbrev-commit --all
rlog = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
fetchpr = fetch upstream +refs/pull/*:refs/remotes/upstream/pr/*
[merge]
tool = meld
[mergetool "meld"]
cmd = meld $PWD/$LOCAL $PWD/$BASE $PWD/$REMOTE --output=$PWD/$MERGED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment