From e3efe57c187f2481623f82b68cbf8d040d2d31e3 Mon Sep 17 00:00:00 2001 From: Asocia Date: Tue, 29 Jun 2021 16:28:34 +0300 Subject: [PATCH] TIL: Rebasing from other branches --- git/rebasing-from-other-branches.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 git/rebasing-from-other-branches.md diff --git a/git/rebasing-from-other-branches.md b/git/rebasing-from-other-branches.md new file mode 100644 index 0000000..bdad4af --- /dev/null +++ b/git/rebasing-from-other-branches.md @@ -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 +```