Git config -global alias.fixmaster 'reset -hard upstream/master' Git config -global alias.pullr20 'pull upstream master' Git config -global alias.cm 'checkout master' ![]() Git config -global alias.cmsg 'git commit -m' Configure new aliases with command like this: Make aliases to longer commands you need often or often forget. Git config -global -add -bool toSetupRemote true No more -set-upstream origin or need to setup complicated aliases. Starting from Git 2.37.0, you can run just git push to push new branches. Skip -set-upstream origin when pushing new branch to Github Other configs and setup that can be nice: This will be used later in the "update your Fork" section. This will set up Roll20's repository as an remote called upstream for your local copy, where you can pull updates from.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |