Closed sunmingtao closed 4 years ago
Normally I'd do, under master branch
git checkout -b existing-branch git pull origin existing-branch
But this only works when the existing-branch is ahead of master. What if the existing-branch is behind master?
git fetch git checkout --track origin/existing-branch
Normally I'd do, under master branch
But this only works when the existing-branch is ahead of master. What if the existing-branch is behind master?