Updating a branch with changes to master branch

If you’ve made commits to a master branch and you then want to update your current branch to reflect those changes, use

git rebase master

when in your feature branch.
See this article on rebase vs. merge for a fuller explanation

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>