| Command | Meaning |
|---|---|
git fetch origin | Get the latest origin/master. |
git reset --soft origin/master | Move your branch to match origin/master, but keep your work staged. |
git commit -m "Final PR commit" | Make a single commit containing all the changes. |
git push --force | Force push the new clean history to your PR branch. |