Skip to content

Instantly share code, notes, and snippets.

@fajrif
Last active February 9, 2016 06:32
Show Gist options
  • Save fajrif/b13a03bd7c3f878fd5cf to your computer and use it in GitHub Desktop.
Save fajrif/b13a03bd7c3f878fd5cf to your computer and use it in GitHub Desktop.
[user]
name = Fajri Fachriansyah
email = [email protected]
[alias]
co = checkout
c = config --list
b = branch
d = diff --color
ds = diff --stat --color
s = status
r = remote -v
sh = show --pretty="format:"
l = log --graph --pretty=format:'%C(yellow)%h%Creset%C(blue)%d%Creset %C(white bold)%s%Creset %C(white dim)(by %an %ar)%Creset'
ls = log --summary --color --oneline
remove = rm --cached --ignore-unmatch
resetclean = git reset --hard HEAD && git clean -fdx
undo-commit = reset --soft HEAD^
[apply]
whitespace = nowarn
[core]
excludesfile = /Users/fajryfachriansyah/.gitignore
editor = vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment