Last active
August 29, 2022 17:50
-
-
Save marutypes/6e14096c26fd39b2bda96b7cc9c32cb8 to your computer and use it in GitHub Desktop.
My git aliases
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
git config --global alias.co checkout | |
git config --global alias.br branch | |
git config --global alias.cm commit | |
git config --global alias.s status | |
git config --global alias.unstage 'reset HEAD --' | |
git config --global alias.last 'log -1 HEAD' | |
git config --global alias.undo 'reset HEAD~1 --mixed' | |
git config --global alias.done 'push origin HEAD' | |
git config --global alias.unfuck 'reset --hard' | |
git config --global alias.d diff | |
git config --global alias.l log | |
git config --global alias.purge 'clean -fd' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment