mirror of
https://github.com/sahinakkaya/til.git
synced 2025-07-17 14:01:49 +03:00
TIL: Rebasing from other branches
This commit is contained in:
8
git/rebasing-from-other-branches.md
Normal file
8
git/rebasing-from-other-branches.md
Normal file
@ -0,0 +1,8 @@
|
||||
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:
|
||||
|
||||
```
|
||||
git checkout master
|
||||
git pull
|
||||
git checkout wip
|
||||
git rebase master
|
||||
```
|
Reference in New Issue
Block a user