Update bower library with specific branch

64 Views Asked by At

I am using angular-file-upload directive to upload files in my app, actually I am using 1.1.5 branch version of this directive, I want to update this to 1.1.6 but actually the master branch is 2.0.x, how I can update the branch installed to specific branch, in this case 1.1.6

1

There are 1 best solutions below

0
On

Since the nervgh/angular-file-upload has a v1.1.6 tag, you can simply checkout that tag:

git checkout v1.1.6

The result will be a detached HEAD, but since you don't intent to commit in that repo, this is fine.