When reading through this Atlassian tutorial on Git 
<https://www.atlassian.com/git/tutorials/merging-vs-rebasing>, it says that 
the set of commands
git checkout feature
git merge master
can be condensed into the one-liner
git merge master feature
presumably to avoid needing to checkout the feature branch. I have not 
found this command to work though. Instead, when I run the one-liner in the 
master branch of my repository, it merges the feature branch into the 
master branch, rather than the opposite. Is this a mistake in the Atlassian 
tutorial, am I missing a set of circumstances where this action applies, or 
am I maybe just misinterpreting this entirely?

Any help is appreciated, thanks!


-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to