Hi.
I would like to merge from FeatureBranch to master, without doing ,,checkout master'' first.
I've tried (being in FeatureBranch)
git push . master
but I got (to a degree of surprise) :
Everything up-to-date
Despite having commits in FeatureBranch which are not (yet) present in master.
The reasons why I desire to be able to do ,,one-step local push'', are:
- I want to give changes to my co-workers who stay on master branch
- without the additional step of ,,checkout master''
- thus being able to still stay in FeatureBranch
- and avoiding rapid changing of many files which confuses/alerts many tools which have something to do with dirs/files in repo
I know I can do it in more steps in different ways. But I wonder whether there is a one-step solution to this (I think there should be).
I think/realize, that if conflicts arise, I would have to switch to master anyway. But in most cases I do not have conflicts and thus would benefit from one-step solution.
My git version:
git --version
git version 1.6.5.1.1367.gcd48
(Windows)
TIA
karolrvn