I am very new to git. Trying to figure some stuff out, so pls be gentle :-)
I'm trying to understand why git seems to create a new branch after an upstream git push.
starting sitation:
git checkout
says
FETCH_HEAD HEAD master pep-complaincy
then i do
git push --set-upstream pep8compliancy
and i get
FETCH_HEAD HEAD master pep8compliancy/pep-complaincy pep-complaincy
They way I understand is that by doing the push command, I link my local "pep-complaincy" branch to a remote "pep8complaincy" branch.
I would expect the output of "git checkout" either to read "pep-complaincy" (not showing the remote branch) OR to read "pep8compliancy/pep-complaincy" (indicating that the local branch is now linked to a remote branch).
Can't figure out why git is now showing 2 branches. Any help explaining this would be greatly appreciated.