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 :
$ git tag "4.0.2"
- push tag :
$ git push --tag
- Install in your app using bower:
$ bower install https://github.com/yourName/forkedRepository.git#4.0.2