Created
April 27, 2012 15:05
-
-
Save ilude/2510004 to your computer and use it in GitHub Desktop.
Git Config
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
[branch] | |
autosetuprebase = always | |
[alias] | |
co = checkout | |
cb = checkout -b | |
ci = commit -m | |
s = status -s | |
br = branch | |
unstage = reset . | |
aa = !"git add -A . && git status -s" | |
unstage = reset . | |
pushall = !"git push --all; git push --tags" | |
l = !"git --no-pager log -20 --date=short --pretty=tformat:\"%C(yellow)%h%Creset - %C(yellow)%an%Creset %C(white)%ad%Creset%C(yellow)%d%Creset %Cgreen%s%Creset\"" | |
ll = !"git log --date=short --pretty=tformat:\"%C(yellow)%h%Creset - %C(yellow)%an%Creset %C(white)%ad%Creset%C(yellow)%d%Creset %Cgreen%s%Creset\"" | |
lg = !"git log --graph --abbrev-commit --date=relative --pretty=format:\"%C(yellow)%h%Creset - %C(yellow)%an%Creset%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset\"" | |
lf = show --pretty=\"format:\" --name-only | |
wtf = reflog | |
rs = remote show origin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment