til/git/rebasing-from-other-branches.md

9 lines
207 B
Markdown
Raw Normal View History

2021-06-29 15:28:34 +02:00
Let's say you are in `wip` branch and you didn't push your changes to server yet. If you want to get all the changes from master:
```bash
2021-06-29 15:28:34 +02:00
git checkout master
git pull
git checkout wip
git rebase master
```