Reputation: 58652
I just create a branch call release-1.0
I run git branch
I got
release-1.0 * master
I checked source tree, I saw that both branches are exist in the remote as well.
How come's when my QA run git branch
they don't see what I see ?
They only see master. They also did a git fetch
, and a git pull
.
What command should they run to checkout the branch that I just create ?
Upvotes: 1
Views: 1890
Reputation: 376
You need to push your branch with git push
and then they need to run the commands: git pull
and git checkout release-1.0
Git let's you name branches however you want to. It does not force you to follow any specific methodology. It sounds like you've created a branch when a tag may have been more appropriate. Try doing your development in a branch named development
and when you do a release you can create a tag to save that point in history. There are many methodologies you can follow, git flow is a popular one.
Upvotes: 1
Reputation: 7132
git branch
shows local branch
To include remote branches, you can used git branch -a
or git branch -r
to show only remotes
Upvotes: 2