Git Rebase

Referal link: https://git-scm.com/book/vi/v1/Ph%C3%A2n-Nh%C3%A1nh-Trong-Git-Rebasing

- Firstly:


- Merge:


- Rebase:

- Step 1:
$ git checkout experiment
$ git rebase master
First, rewinding head to replay your work on top of it...
Applying: added staged command

- Step 2: Đến lúc này, bạn có thể quay lại nhánh master và thực hiện fast-forward merge
$ git checkout master $ git merge experiment

**Note**
- rebase vo "nhanh chinh".
- merge tu "nhanh phu"

Comments

Popular posts from this blog

Login/Logout account Git in Terminal/cmd

Logout Git on MacOS

React Tutorial for Beginners