git stash push -m "hold for pull" git switch main git pull git stash pop # restores stash on top of main git add/commit git push -f origin