mirror of
https://github.com/sahinakkaya/til.git
synced 2024-11-22 08:39:39 +01:00
TIL: Rebasing from other branches
This commit is contained in:
parent
cfb6a695a5
commit
e3efe57c18
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
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user