Last active
August 29, 2015 14:23
-
-
Save derekshirk/4a42204f3ee9aac6f15f to your computer and use it in GitHub Desktop.
Git-CLI-Aliases
This file contains 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
##Use cli aliases. | |
I love git’s cli and prefer to use it most of times while performing active operations (commit, push, checkout etc.). There is a chance that you’ll get tired of typing the same command on and on and that’s when you find your life-saver represented by git aliases. | |
$ git config --global alias.co "checkout" | |
$ git config --global alias.cmm "commit -m" | |
$ git config --global alias.rh "reset HEAD" | |
$ git config --global alias.rhh "reset HEAD --hard"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment