Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to install npm bitbucket package BRANCH

Meagan June 14, 2022

So I know how to install our repo via 

npm i bitbucket-url-here

Is there a way to install a branch rather then main?

Most of the searches I found were only on installing the main branch of a repo.

 

Thank you! 

1 answer

1 vote
Gert Stalpaert March 15, 2023

I also want to know on how to install a branch using package.json ...

This does not work :(

"dependencies": {
"<module name>": git+ssh://git@bitbucket.org/<organization>/\<repo>#<branch name>,
...
}

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events