bower install git Hacks

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:

  1.  Fork the repository
  2. Clone the forked repo on your computer
  3. Make desired changes
  4. Increment version number in bower.json (create one if none exists e.g. 4.0.1)
  5. Commit and push
  6. 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" 
  7.  push tag :
    $ git push --tag 
  8. Install in your app using bower:
     $ bower install