It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Ed Nov 01, 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
Rich Duncan Nov 01, 2016

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

 

-Rich

1 vote
Vishnu Reddy K Nov 01, 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


0 votes
Ed Nov 01, 2016

Thank you.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

1,576 views 1 18
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you