I have a feature branch, and a master branch.
Master branch has evolved and I mean to have those updates to diverging as little as possible from master branch.
S
If the remote versions of master
and feature/branch
are up-to-date individually, then simply reset your local feature branch
git checkout feature/branch
git fetch origin feature/branch
git reset --hard origin/feature/branch
then if you want to bring in changes in the master
branch,
git rebase origin/master