Last active
November 22, 2017 08:55
-
-
Save khamiltonuk/f701e3f101b93a57136c2b8e3c4ce80f to your computer and use it in GitHub Desktop.
Git alias for the perfect workflow (file stored in your home directory)
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
| [alias] | |
| addr = noaddr | |
| st = status | |
| flg = !git fetch && git lg | |
| lg = log --graph --decorate --branches --oneline --remotes --tags --all --color | |
| ci = commit | |
| co = checkout | |
| cdiff = diff --cached | |
| subup = submodule update --init --recursive | |
| ff = merge --ff-only origin/master | |
| fff = !git fetch -p && git merge --ff-only | |
| show-all-the-things = manifest | |
| yoink = cherry-pick | |
| unstage = reset HEAD | |
| authors = !git log --format='%aN' | sort | uniq -c | sort -nr | |
| committers = !git log --format='%cN' | sort | uniq -c | sort -nr | |
| whatis = rev-list --max-count 1 | |
| rebase = rebase -p | |
| sort = for-each-ref --sort=-committerdate refs/heads/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment