The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to make a subdirectory of my private repo public?

Deleted user
November 1, 2016

I use Bitbucket to store my shell scripts. The repository is called scripts_repo. My repo is currently private. I have a subdirectory under scripts_repo called templates. Is there a way to make that subdirectory, templates, public while keeping all other subdirectories private?

3 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Vishnu Reddy K
Contributor
November 1, 2016

Hi Ed,

   I dont think you can do that.The other solution i can think of is using submodules

https://git-scm.com/docs/git-submodule 

Thanks & Regards

Vishnu


1 vote
Rich Duncan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 1, 2016

Not really - you could look at using a submodule which has the effect of making the templates directory its own repo.

 

-Rich

0 votes
Deleted user
November 1, 2016

Thank you.

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events