I'm stil learning git and not sure how some basic things work. I created a local branch by doing:
git branch AppStore
I can't remember exactly how I pushed this branch to github.com, but I can see MyBranch on the repository. When I do
git branch -a
I see this:
ARC
* AppStore
Refactoring
Release3
master
remotes/origin/AppStore
remotes/origin/HEAD -> origin/master
There are more remotes listed as well. So from my computer where I created the branch, I see the AppStore branch. However, none of my coworkers can. When we tried a
git pull origin AppStore
It grabbed the changes. But when we tried
git checkout AppStore
or
git checkout origin AppStore
We were not able to. What are we missing? Thanks!
Edit:
I did try this according to VonC's answer:
git push --set-upstream origin AppStore
After putting in my credentials, I get:
Branch AppStore set up to track remote branch AppStore from origin.
Everything up-to-date
But my coworkers still cannot see the branch :-.