Let's say I have a feature branch derived from master. Master is ahead several commits. I want to include lastest updates from master into my feature branch.
What is the correct approach?
git pullgit pull --rebasegit pull origin featuregit pull origin mastergit rebase origin/mastergit merge origin/master- Something else?
Sorry for lame question, but I really do have little bit of a mess in these commands. Description of the differences between the commands would be highly appreciated.
merge, whereas this question, specifying a feature branch without any additional context, would probably lean towardsrebase. Since both are presented in the top answers to that other question, I'm not opposed to that being the dup, though, I assume there is probably a better dup match.