Well this is actually not a Drone related question...

But i guess many of you guys must know how to do this right?😀

  • morg replied to this.

    b-wing

    Are you trying to pull a branch from a different remote repository into local repo?

      b-wing

      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.

        Write a Reply...