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

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

Ed 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

1 vote
Vishnu Reddy K 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 Leaders.
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
Ed November 1, 2016

Thank you.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events