Well this is actually not a Drone related question...
But i guess many of you guys must know how to do this right?
Well this is actually not a Drone related question...
But i guess many of you guys must know how to do this right?
You can do
git fetch <remote> <rbranch>:<lbranch>
git checkout <lbranch>
where <remote> is the git url of remote repo, and <rbranch> is the remote branch or source ref and <lbranch> is the as yet non-existent local branch or destination ref you want to track, and which you probably want to name the same as the remote branch or source ref.