rewrites history
git checkout feature
git rebase master
Note: feature branch is under threat, so create another branch and do it. If that’s fine, then use to integrate main code base in feature to be up-to-date