Skip to content

Instantly share code, notes, and snippets.

@hsanchez
Created November 3, 2011 19:56
Show Gist options
  • Save hsanchez/1337608 to your computer and use it in GitHub Desktop.
Save hsanchez/1337608 to your computer and use it in GitHub Desktop.
Checking out a specific branch (instead of master)
#!/bin/bash
# cloning develop branch from elamb project
git clone --branch=develop git@github.com:hsanchez/elamb.git
echo "done"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment