- Pull and put your commits on top
git pull --rebaseStopped with a conflict? Fix the files, run git add on them, then git rebase --continue.
- Push
git push - Make this the default from now on
git config --global pull.rebase trueThen plain git pull won't ask again.
Check it worked
- Check you're in step
git status
Undo it
- Stop the rebase if it goes wrong
git rebase --abort
- Pull and put your commits on top
git pull --rebaseStopped with a conflict? Fix the files, run git add on them, then git rebase --continue.
- Push
git push - Make this the default from now on
git config --global pull.rebase trueThen plain git pull won't ask again.
Check it worked
- Check you're in step
git status
Undo it
- Stop the rebase if it goes wrong
git rebase --abort
- Pull and put your commits on top
git pull --rebaseStopped with a conflict? Fix the files, run git add on them, then git rebase --continue.
- Push
git push - Make this the default from now on
git config --global pull.rebase trueThen plain git pull won't ask again.
Check it worked
- Check you're in step
git status
Undo it
- Stop the rebase if it goes wrong
git rebase --abort