I want a yes or no answer to this one guys!
I've tried this command which the official Git documentation says should work, with respect to the question I am asking:
git checkout --track origin/my_branch_name
When I do this though, I get the following error:
fatal: Cannot update paths and switch to branch 'my_branch_name' at the same >time. Did you intend to checkout 'origin/my_branch_name' which can not be resolved as >commit?
FRUSTRATED BEYOND ALL BELIEF AS TO HOW HARD IT IS TO GET STRAIGHT FORWARD ANSWERS TO BASIC GIT QUESTIONS.
Just a simple yes or no PLEASE! NO complex explanations or, "oh I know, if you jump through these 50 hoops and ladders you can accomplish what you ask!"
I am simply asking if it is possible. If the answer is yes, please share the command that does this. THANK YOU...and sorry for being so upset. Reason why I am mad though...is because it seems to me like it SHOULD be the DEFAULT behavior for all branches created locally to ALSO be created on the remote repo so you can just push seamlessly without all the BS overhead. Doesn't anyone else feel the same or am I some kind of alien on this planet using Git? [end rant]