- 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
![](https://lh6.googleusercontent.com/-ZhooVMgF1NU/Tm3n6aGfNOI/AAAAAAAABjk/kIqA07mZJ5Y/s800/dw-rp.png)
0 comments :
Post a Comment