I need to re-specify the name of the current branch.
Examples
Updating my current branch with changes from remote
git pull origin mySuperLongComplicatedBranchName
Click my current branch to remote
git push origin mySuperLongComplicatedBranchName
I would simplify this to a simple one:
git pull origin *
or something similar. If perhaps something like this already exists. I'm pretty used to git, but just hope that I'm missing something simple.
EDIT:
Adding additional information in response to one comment:
git show-ref -head
eaadd6401c4e179c105ac3565fe9bf53e2882f83 HEAD
eaadd6401c4e179c105ac3565fe9bf53e2882f83 refs/heads/myReallyLongBranchName
d6af452b1ad0a309a55061f9eeb6ab7ae83b6aef refs/remotes/origin/HEAD
eaadd6401c4e179c105ac3565fe9bf53e2882f83 refs/remotes/origin/myReallyLongBranchName`
so it looks like my remote reallyLongBranch looks identical to the current head. Oh, I know. I will
git fetch
then i ran
git show-ref --head again
bc1b96345913e911d03eb62763f8795cc20ecd8f refs/remotes/origin/myReallyLongBranchName
Oh great. Now I have to do it git pull origin HEAD.
I am running a team. and I get Already up to date.
Then I run:
git pull origin mySuperLongComplicatedBranchName
I am discarding the changes. Front palm.
, . Git , ... , .