Even after reading this question: git-push-current-branch, I am still having difficulty figuring out how I should write my git push
command. As mentioned in the question link, it's not clear from the documentation.
I would like to use my 'real world' example. Following is what I see when I run the git status
command on the top level of my branch:
On branch amd_qlp_tester
Your branch is ahead of 'origin/amd_qlp_tester' by 5 commits.
etc...
My branch name is amd_qlp_tester
but it was "branched" off from the main branch (if I have the terms wrong it's because of my SVN background). But then there is also the name origin/amd_qlp_testser
So how do I phrase my push command?
Is it any of the following?
git push origin/amd_qlp_tester
git push origin amd_qlp_tester
git push amd_qlp_tester
git push origin
git push
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…