Created
September 11, 2015 03:36
-
-
Save rschiang/d111643741e3158da322 to your computer and use it in GitHub Desktop.
Git config witchcrafts
This file contains hidden or 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
[user] | |
name = Poren Chiang | |
email = <EMAIL> | |
[color] | |
ui = true | |
[alias] | |
tree = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
keepup = !git checkout $2 && git merge $1 && git push && git push origin $2 && git checkout $1 && echo | |
on = commit -m | |
themall = commit -a -m | |
amendall = commit -a --amend | |
github = "!git remote -v | python -c 'import sys, re; print re.search(r\"((https|git):[A-Za-z0-9\\.\\-_/]+)\\.git\", sys.stdin.readline()).group(1)' | xargs open" | |
[push] | |
default = simple | |
[core] | |
editor = nano | |
[filter "media"] | |
clean = git-media-clean %f | |
smudge = git-media-smudge %f | |
[github] | |
user = rschiang |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment