Created
December 14, 2015 15:16
-
-
Save dkraczkowski/ee716cf69587d3ad1e74 to your computer and use it in GitHub Desktop.
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
| [color] | |
| ui = auto | |
| [color "branch"] | |
| current = yellow reverse | |
| local = yellow | |
| remote = green | |
| [color "diff"] | |
| meta = yellow bold | |
| frag = magenta bold | |
| old = red bold | |
| new = green bold | |
| [color "status"] | |
| added = yellow | |
| changed = green | |
| untracked = cyan | |
| [alias] | |
| gimmefuckingtree = log --pretty=format:'%Cred%h%Creset %C(bold blue)<%an>%Creset%C(yellow)%d%Creset %Cgreen(%cr)%Creset%n%w(80,8,8)%s' --graph | |
| gimmehugefuckingtree = log --pretty=format:'%Cred%h%Creset %C(bold blue)<%an>%Creset%C(yellow)%d%Creset %Cgreen(%cr)%Creset%n%w(80,8,8)%s%n' --graph --name-status | |
| gimmesomefuckingdetails = log --pretty=format:'%C(yellow)%h %Cred%ad %Cblue%an%Cgreen%d %Creset%s' --date=iso | |
| whothefuck = "!sh -c 'git log -i -1 --pretty=\"format::%an <%ae>\n\" --author=\"$1\"' -" | |
| whatthefuck = show -s --pretty='tformat::%h (%s, %ad)' --date=short | |
| whatthefuckhappend = !sh -c 'git fetch' && git log --oneline HEAD..origin/$1 | |
| whatthefuckhappendtomaster = !sh -c 'git fetch' && git log --oneline HEAD..origin/master | |
| = !sh -c 'git shortlog HEAD..origin/$0' | |
| whoistheremaster = !sh -c 'git shortlog HEAD..origin/master' | |
| gimmefuckingtags = show-ref --tags | |
| pushmyfuckingtags = push --tags | |
| tagwithfuckingdates = !sh -c 'git tag "$0"_$(date "+%y-%m-%d_%H-%M-%S")' | |
| fuckit = reset --hard | |
| whofuckedup = blame | |
| fuck = status | |
| fcuk = status | |
| howthefuck = diff | |
| howcanifuck = help | |
| lost = stash | |
| found = stash apply | |
| cleanit = clean | |
| cleantheshit = !sh -c 'git clean -x' && git reset --hard | |
| fuckitback = reset HEAD~100 | |
| fuckitall = reset HEAD~100 --hard | |
| idontfuckingcare = push origin --force | |
| [apply] | |
| whitespace = nowarn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Learnt the whole git in just 52 lines ;)