Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to share folders without the folders being Git repositories themselves? #573

Open
ndattani opened this issue Jan 21, 2023 · 2 comments

Comments

@ndattani
Copy link

ndattani commented Jan 21, 2023

I have described my situation here. It seems clear that if the "shared folders" were submodules, subtrees, or subrepos, then Repo 1 and Repo 2 can both enjoy possession of them, but if I have 1000s of shared folders, I don't want to make each of them a Git repository, and neither do I want to make a third Git repository just for the common folders. Is there a way to do this in Git?

I also mentioned this question here: apenwarr/git-subtrac#14

@andry81
Copy link

andry81 commented Jan 21, 2023

If shared folders does not need a version control and can be packed as is into a tar ball or a zip archive then, you can put them into, for example, ftp server and use vcstool to download archive files aside with your repositories:
https://github.com/dirk-thomas/vcstool#exporting-and-importing-sets-of-repositories

@ndattani
Copy link
Author

Thanks for your suggestion! Ideally the shared folders could use version control and I could avoid using tar balls or zip archives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants