One issue I've found when syncing Git directories is they include a lot of files, which seems to slow down syncing significantly. For now, I usually just exclude the
.git directory altogether. However, this is less than ideal for local-only repos.
I'm sure I could find a way to bundle my Git folders automatically and unbundle them when I want to work on them, however it would be ideal if there was a flag that did this automatically... basically something that could compress/decompress Git repos on-the-fly. Maybe use a special file extension similar to how
--links works. There is probably a native way to do this through go-git as well so that you could unbundle them manually if needed.
See here for a related discussion on native submodule support in bundles:
I can't imagine I'm the only one with this challenge, so I'd love to hear others input on maybe other ways they've dealt with the issue or see if this is a feature worth requesting.