Git Sync
Sync local branch with remote using rebase.
- Fetch the latest changes from the remote repository.
- Command:
git fetch origin
- Pull and rebase the current branch on top of the remote branch.
- Command:
git pull origin HEAD --rebase - If there are conflicts, resolve them, then
git rebase --continue.