Created
March 20, 2019 02:03
-
-
Save ajpinedam/10f2d893dff3a0e36582c6c5530a75b8 to your computer and use it in GitHub Desktop.
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
git config --global alias.co checkout // move between branches or checkout a file | |
git config --global alias.st status // Status of the repository | |
git config --global alias.last 'log -1' // Last commit | |
git config --global alias.bn 'checkout -b' // Create branch and move to it | |
git config --global alias.cm 'commit -m' // Commit with Message | |
git config --global alias.ca 'clean -dfx' // Clean unwanted changes using .gitignore | |
git config --global alias.ul 'reset --soft HEAD~1' // Unload last commit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment