Skip to content

Instantly share code, notes, and snippets.

@ulisesrmzroche
Created December 7, 2011 22:05
Show Gist options
  • Save ulisesrmzroche/1444915 to your computer and use it in GitHub Desktop.
Save ulisesrmzroche/1444915 to your computer and use it in GitHub Desktop.
[core]
excludesfile = ~/.gitignore
editor = vim -f -U ~/.vimrc
autocrlf = false
whitespace = fix
[color]
ui = auto
[alias]
co = checkout
br = branch
ci = commit
m = checkout master
rr = reset --hard origin/master
d = diff --color-words
s = show --color-words
sign = commit --amend -sC HEAD
amend = commit --amend -C HEAD
l = log --graph --date=short --pretty='format:%C(green)%ad %C(yellow)%h%Creset %C(cyan)%aN (%cN)%Creset %s%C(magenta bold)%d%Creset'
ll = log --decorate --pretty=full --shortstat --abbrev-commit --dirstat
la = log --decorate --pretty=full --stat --abbrev-commit --name-status
p = format-patch master
st = status -sb
cp = cherry-pick
b = checkout -b
[push]
default = tracking
[branch "master"]
rebase = true
[branch]
autosetuprebase = always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment