I wonder if it's possible to npm install a subdirectory of a bitbucket repo.
If the npm package is in the project root, it works like this:
npm install ssh://bitbucket.org:<bitbucketname>/<bitbucketrepo>
My goal is to just install what's in a subdirectory, is that possible and how?
@Preetam DS for a new directory, it would be
cd ~/<repository>
mkdir <directory-namr>
What you probably want is to make a child branch:
git branch checkout -b <branch-name>
Then, you have to merge/put it in the branch(main/master) that you are working in:
merge branch <branch-name>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i don't think it will work in the Bitbucket pipeline, how to solve this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.