Skip to content

Instantly share code, notes, and snippets.

@scottnath
Last active August 29, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottnath/24f987f335bb8a36000d to your computer and use it in GitHub Desktop.
Save scottnath/24f987f335bb8a36000d to your computer and use it in GitHub Desktop.
Install a specific branch

Install specific branch via bower

bower install xxx#foo-branch

as in:

bower install git@github.com:pattern-library/pattern-importer.git#npm-module

Install specific branch via NPM

npm install git+ssh://git@github.com:pattern-library/pattern-importer.git#npm-module

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment