Skip to content

Instantly share code, notes, and snippets.

@michal-lipski
Created August 31, 2012 20:45
Show Gist options
  • Select an option

  • Save michal-lipski/3558741 to your computer and use it in GitHub Desktop.

Select an option

Save michal-lipski/3558741 to your computer and use it in GitHub Desktop.
.gitconfig
[user]
name = Michal Lipski
email = kiwaczki_@gmail.com
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = always
[alias]
st = status -sb
ci = commit
cim = commit -m
co = checkout
br = branch -v
rm = remote -v
bra = branch -a
aa = add --all
dh = diff HEAD^
puoh = push -u origin HEAD
rs = reset --soft HEAD^
rh = reset --hard HEAD^
m = merge --no-ff --no-commit
div = divergence
head = !git log -1
lo = !git log -20
loa = !git lo --all
[format]
pretty=format:%C(yellow)%h%Creset -%C(red)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset
[push]
default = upstream
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment