Skip to content

Instantly share code, notes, and snippets.

@till
Created August 27, 2012 14:16
Show Gist options
  • Save till/3488817 to your computer and use it in GitHub Desktop.
Save till/3488817 to your computer and use it in GitHub Desktop.
[alias]
pu = !"git fetch origin -v; git fetch upstream -v; git merge upstream/$1"
pg = !"git log --pretty=format:'%h : %s' --date-order --graph"
tc = !sh -c 'git rev-list $0 | head -n 1'
[color]
branch = auto
diff = auto
interactive = auto
status = auto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment