Skip to content

Instantly share code, notes, and snippets.

@stojg
Created August 30, 2011 08:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stojg/1180487 to your computer and use it in GitHub Desktop.
Save stojg/1180487 to your computer and use it in GitHub Desktop.
.gitconfig
[alias]
pu = !"git fetch origin -v; git fetch upstream -v; git merge upstream/master"
graph = log --graph --date-order -C -M --pretty=format:\"<%h> %ad [%an] %Cgreen%d%Creset %s\" --all --date=short
co = checkout
st = status
ci = commit
br = branch
unstage = reset HEAD --
last = log -1 HEAD
[core]
editor = vim
[merge]
tool = vimdiff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment