Bower install from a forked repository
If for any reason you need to fork a repo and want to install your forked version using Bower, follow these steps:
Fork the repository
Clone the forked repo on your computer
Make desired changes
Increment version number in bower.json (create one if none exists e.g. 4.0.1)
Commit and push
Create a new version tag higher than that of the forked repository. If version tag from respository is 4.0.1, increase it. e.g. 4.0.2 :
[sourcecode language="plain"] $ git tag "4.0.2" [/sourcecode]
push tag :
[sourcecode language="plain"]$ git push --tag [/sourcecode]
Install in your app using bower:
[sourcecode language="plain"] $ bower install https://github.com/yourName/forkedRepository.git#4.0.2 [/sourcecode]