Friday, March 19, 2021

Git Pull Rebase

             

git pull --rebase

 

Git Rebase

 

`rebase` brings local commits to the head of the master branch. 

 `git pull` is a combination of `git fetch` and `git merge`. 


When you run `git pull --rebase` you are are telling `git pull` to run `git fetch` and then `git rebase` not `git merge`. 

No comments:

Post a Comment