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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,554,532
Community Members
 
Community Events
184
Community Groups

I want to install npm dependency from a sub-folder of a bitbucket repo

Edited
Preetam DS
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Apr 23, 2023

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? 

2 answers

See last post

@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>

Preetam DS
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Apr 24, 2023

i don't think it will work in the Bitbucket pipeline, how to solve this?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events