git how to update branch from master 1

git how to update branch from master

git fetch
git rebase origin/master

Here is what the above code is Doing:
1. git fetch: This command will fetch all the remote branches and tags from the remote repository.
2. git rebase origin/master: This command will rebase the current branch with the master branch.

Similar Posts