Bower: Install Bootstrap Plug

I have a git repository that is basically a Bootstrap fork.

It has been changed, and I can click on a different repo than the official one. You can still pull it out of Bootstrap (to receive updates).

My problem is here when I enter bower install http://my_custom_url.git bower downloads official Bootstrap repository, not mine.

I canโ€™t understand why and, unfortunately, I canโ€™t share the real URL of my repo (it is blocked by my company).

Any help would be really appreciated, thanks!

+6
source share
1 answer

Unless otherwise specified, Bower will download the latest release from your repo.

If you have not created a new version yet, it will appear that Bower is loading from the original Github branch. The latest version of your forked repo is the same as the original.

One option is to create a new version for the forked repo, and it should work as expected.

Or you can use bower install http://my_custom_url.git#commit , where commit is the name of the last commit with your changes to the Bootstrap code.

You can use branchname instead of commit , but then you risk changing the code without understanding it.

+6
source

All Articles