Created
June 13, 2013 11:41
-
-
Save tanordheim/5773065 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[core] | |
excludesfile = ~/.gitignore | |
[diff] | |
[color] | |
ui = auto | |
[alias] | |
st = status | |
ci = commit | |
co = checkout | |
di = diff | |
dc = diff --cached | |
amend = commit --amend | |
aa = add --all | |
ff = merge --ff-only | |
pullff = pull --ff-only | |
noff = merge --no-ff | |
fa = fetch --all | |
pom = push origin master | |
b = branch | |
ds = diff --stat=160,120 | |
dh1 = diff HEAD~1 | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
# Fancy logging. | |
# h = head | |
# hp = head with patch | |
# r = recent commits, only current branch | |
# ra = recent commits, all reachable refs | |
# l = all commits, only current branch | |
# la = all commits, all reachable refs | |
head = !git l -1 | |
h = !git head | |
hp = "!bash -c '. ~/.githelpers && show_git_head'" | |
r = !git l -30 | |
ra = !git r --all | |
l = "!bash -c '. ~/.githelpers && pretty_git_log'" | |
la = !git l --all | |
[merge] | |
tool = vimdiff | |
[user] | |
name = Trond Arve Nordheim | |
email = [email protected] | |
[github] | |
user = tanordheim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment