Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×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?
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
Not really - you could look at using a submodule which has the effect of making the templates directory its own repo.
-Rich
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.