A co-worker created a branch
called feature/validateEmail
. I want to do pull
or checkout
of that branch
on my machine to be able to work on it but without waiting for it to do merge
a develop
or a master
.
I tried unsuccessfully:
-
git checkout feature/validateEmail
-
git checkout validateEmail
-
git pull feature/validateEmail
-
git pull validateEmail
And as I use the plugin of oh my zsh
I also tried:
-
gco feature/validateEmail
-
gco validateEmail
The branch
I can see it with:
-
gba
(for the plugin) -
git branch -a
How can I pull or checkout the remote repository on my machine?