Skip to content

Instantly share code, notes, and snippets.

@oste
Last active December 16, 2015 09:28
Show Gist options
  • Save oste/5412665 to your computer and use it in GitHub Desktop.
Save oste/5412665 to your computer and use it in GitHub Desktop.
How to include package branch from github???
{
"require": {
"fortawesome/font-awesome": "dev-master"
},
"repositories": [
"type": "package",
"package": {
"name": "fortawesome/font-awesome",
"version": "master",
"source": {
"url": "https://github.com/FortAwesome/Font-Awesome.git",
"type": "git",
"reference": "3.1.0-wip"
}
}
]
}
@oste
Copy link
Author

oste commented Apr 18, 2013

this produces the following error

  [RuntimeException]
  Failed to execute git checkout '3.1.0-wip' && git reset --hard '3.1.0-wip'

  error: pathspec '3.1.0-wip' did not match any file(s) known to git.

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