Git: Checkout remote branch

| No Comments | No TrackBacks

Using jformino repository in the example. To checkout the “gh-pages” branch:

git clone git@github.com:handlino/jformino.git
cd jformino
# must create a local 'gh-pages' branch from remote gh-pages
git checkout -b gh-pages origin/gh-pages

No TrackBacks

TrackBack URL: http://pub.gugod.org/mt/mt-tb.cgi/201

Leave a comment