0

I've tried several git commands, but I can't seem to be able to see the remote branch that I've created using azure devops. Branch name is pbi7642_task7917.

With git branch -av | Select-String task7917 , on my machine, in powershell, I don't see the new branch.

Johan Doe
  • 33
  • 8

1 Answers1

1

git fetch --all did most of the trick.

Subsequently git checkout remotes/origin/pbi7642_task7917 and git switch -c pbi7642_task7917 got me going.

I was helped by similar question Git: Merge a Remote branch locally.

SwissCodeMen
  • 3,359
  • 4
  • 15
  • 26
Johan Doe
  • 33
  • 8
  • 1
    Thanks for sharing your solution here, would you please [accept your solution as the answer](https://i.stack.imgur.com/LkiIZ.png)? So it would be helpful for other members who get the same issue to find the solution easily. Have a nice day:) – Hugh Lin May 31 '21 at 01:37