![]() RightClick on repo -> TortoiseGit -> Settings -> Git -> Edit local. Add block below (guess, after "master" block): Īnd after any of those steps you can use easily: Or edit config manually (I prefer this way): (note, since git 1.8 for branch command -u is a short form of -set-upstream-to, which is a bit different from deprecated -set-upstream) Git branch -u downloadmanager origin/DownloadManager Set in git config default remote tracking branch: This will persist downloadmanager:DownloadManager link in config automatically (same result, as the next step). Git pull origin downloadmanager:DownloadManager Specify remote branch in pull/push commands every time (case sensitive): Suppose you are in local branch downloadmanager now ( git checkout downloadmanager) Be careful - you have case mixing between local and remote branch!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |