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 pull
git pull --rebase
git pull origin feature
git pull origin master
git rebase origin/master
git 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.