- Reset your local
master
to match the remote repository'smaster
(WARNING: be sure that you don't have any uncommitted changes you want to keep before issuing the following command):git reset --hard origin/master
- Fetch all remote branches into your local repository:
git fetch origin
- Create a new local
vsup12
branch from the remotevsup12
branch, and switch to this new local branch:git checkout -b vsup12 origin/vsup12
0 comments :
Post a Comment