How to push to 2 different branches without merge?
772
I already have the master branch in the remote repository, but I want to have another version in an already created branch called withoutcomments and when I push it tells me this:
I don't know how to solve it, I hope someone can help me.
Hmm, maybe you need to do git pull(alone or with some of its variants) from the remote branch of withoutcomments to your local withoutcomments, and latergit push -u origin withoutcomments
Also be careful how you call your branches, in the question you have *withoutcomments and in the terminal *withoutcommets(without the n)
Hmm, maybe you need to do
git pull
(alone or with some of its variants) from the remote branch of withoutcomments to your local withoutcomments, and latergit push -u origin withoutcomments
Also be careful how you call your branches, in the question you have *withoutcomments and in the terminal
*withoutcommets
(without the n)Good luck!!?