Skip to content

Instantly share code, notes, and snippets.

@beaufour
Created January 10, 2013 16:44
Show Gist options
  • Save beaufour/4503622 to your computer and use it in GitHub Desktop.
Save beaufour/4503622 to your computer and use it in GitHub Desktop.
[user]
name = Allan Beaufour
email = ...
[color]
ui = auto
[pack]
threads = 0
[diff]
renamelimit = 0
[push]
default = tracking
[core]
editor = emacs -q
[alias]
st = status
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
lol = log --graph --decorate --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --abbrev-commit
am = commit --amend --reuse-message=HEAD
cp = cherry-pick
co = checkout
diffm = diff origin/master..HEAD
logm = log origin/master..HEAD
sup = !git stash && git up && git pop
pp = !git pull && git push
rb = rebase origin/master
rbi = rebase -i origin/master
[branch]
autosetuprebase = always
[rerere]
enabled = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment