less typing on git command line
If you're tired of typing git commands you can set aliases for your favourites.
enter the following command while on the git command line;
git config --global alias.down pull
You can now type 'git down' instead of 'git pull' as this command creates an alias for pull called 'down'.
Here's a few other examples of mine;
git st => git status
git config --global alias.st status
git co => git commit
git commit => git co
git config --global alias.co commit %1
git push => git up
git config --global alias.up push origin master
Author
Author
Comments
Comments