Git does not show remote branches after fresh creation?

After creation of a new branch in bitbucket Github Gitlab …

when we make git branch -r to display   new branches we don’t see them

we have to make git fetch   that git client update the config file with the new branches linkes

 

git branch -r  will diplay the ew branches with the masters

 

as.PNG

 

You can use:

git checkout -b new_branch

to checkout and create a branch at the same time. This is the same thing as doing:

git branch new_branch
git checkout new_branch


Laisser un commentaire