I have a git repo which is basically a fork of Bootstrap.
It has been modified and i can push on an other repo than the official one. It is still possible to pull from Bootstrap (to get updates).
My problem here is, when i enter bower install http://my_custom_url.git
bower download the official Bootstrap repo and not mine.
I can't figure out why and unfortunately i cannot share the real url of my repo (it's locked by my company).
Any help would be really appreciated, thanks !
Unless you specify otherwise Bower downloads the latest release from your repo.
If you haven't created a new release, it will appear that Bower is downloading from the original Github branch. The latest release on your forked repo is the same as that of the original.
One option is to create a new release for your forked repo and it should work as expected.
Or, you could use bower install http://my_custom_url.git#commit
where commit
is the name of the latest commit with your edits to the Bootstrap code.
You could use branchname
instead of commit
but then you risk having the code change without you realizing it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With