Home > Blockchain >  how do I make an existing branch track a remote branch
how do I make an existing branch track a remote branch

Time:12-18

I cannot believe that this same question has been getting asked for 12 years and it is still just as complicated as day one. for almost a year i have simply been copying the zip file anytime new changes were made to avoid smashing my face into my keyboard over git pull fetch track origin rebase master slave whatever.

i mean seriously how hard can it possibly be to simply download or clone a repository, and then set it to track changes? but hey while you are at it, don't overwrite my changes. I am not a dev so have no need to push(upload).

are you able to track an https address or does it have to be ssh?

i simply want to track changes on https://github.com/MarlinFirmware/Marlin/tree/bugfix-2.0.x thats it

CodePudding user response:

I just tested, with git clone -b:

C:\Users\vonc\git\tests>git clone https://github.com/MarlinFirmware/Marlin -b bugfix-2.0.x
Cloning into 'Marlin'...
...

C:\Users\vonc\git\tests\Marlin>git br -avv
* bugfix-2.0.x                6dc056f771 [origin/bugfix-2.0.x]            
  • Related