Thursday, May 7, 2015

Git switch branch

1. initialize from remote
git clone

2. update:
git pull

3. new branch:
git branch iss53
git checkout iss53

4. pull remote changes:
git reset --hard HEAD
git pull

No comments:

Post a Comment