/ Published in: Bash
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# use git branch -r to see the names of the remote branches git branch -r # set up a local branch which tracks a remote branch. git branch --track BRANCHNAME origin/REMOTEBRANCHNAME # checkout the branch to update the codebase git checkout BRANCHNAME