I've started using git fairly recently and have been really happy with it, it's definitely a great tool.
But today I've got it in a really weird state, that I can't seem to get out of, though.
I have two remote branches, master and pqueues. I want to be able to pull those branches into the locals branches of the same name, but when I do git pull
it pulls and merges master into whichever branch I have checked out. If I do git pull
on local pqueues, it does a merge of itself and master. I really don't understand why.
Also If I do git push origin pqueues
on pqueues it says Updates were rejected because the tip of your current branch is behind
when I know I'm the only person to commit to that remote branch, and my local branch is a few commits ahead of remote.
How can I find out what's actually going on and get it back to a working order?