git fetch rebase 1

git fetch rebase

You've branched out, made some commits, then you
need the latest from master. On your branch:

git fetch origin
git rebase origin

Here is what the above code is Doing:
1. git fetch origin
– This will fetch all the changes from the remote repository.
2. git rebase origin
– This will rebase your current branch on top of the latest changes from the remote repository.

Similar Posts