I made a new local branch:
git checkout -b new_branch then change some files, and commit:
git commit -am "comments" and then pushed to remote:
git push origin new_branch It looks like it worked, i see message:
* [new branch] new_branch -> new_branch i then do:
git branch -a but i don't see my new branch under remotes/origin but i see it for local. I try a pull,
git pull and git says everything is "Already up-to-date"
I tried
git fetch --all same result from
git branch -a What am i missing? i don't recall having to do anything different in the past.
I want to be able to do things like:
git diff new_branch origin/new_branch but origin/new_branch doesn't show up All my other branches show up as remotes/origin/branchname
git remote -vsay?git remote -vshowsorigin user@myserver:/repopath/gitname.git (fetch)andorigin <same address above> (push)