I would like to team up with FeatureBranch to deal with it without doing a "checkout master". I tried (being in FeatureBranch)
git push . master
but I got (to a degree of surprise):
Everything up-to-date
Despite the fact that there are commits in FeatureBranch that are not yet present in the main.
The reasons I want to be able to do a one-step local push ':
- I want to make changes to my employees who remain on the main branch.
- no extra step: checkout master ''
- thereby being able to stay in FeatureBranch
- and avoid quickly changing many files that confuse / warn many tools that are related to files / files in the repo
I know that I can do this in several steps in different ways. But I wonder if there is a one-step solution to this (I think it should be).
I think / understand that if conflicts arise, I still have to switch to mastery. But in most cases, I have no conflicts and, therefore, you will get a one-step solution.
My git version:
git --version git version 1.6.5.1.1367.gcd48
(Windows)
TIA
karolrvn
source share