2 ms·
All my projects have .git directories inside them too. So creating a .git in top directory makes them submodules. To fix that right now i'm using a mercurial r
by superasn 9y ago
All my projects have .git directories inside them too. So creating a .git in top directory makes them submodules.
To fix that right now i'm using a mercurial repo for the top directory and .git inside my project dirs (since BitBucket supports both). This works for now but it's not automatic like Dropbox and there are size limitations. So just wondering what the most elegant solution is.
- mpanta 9y agoJust to be sure I have understood correctly, this is to have your different projects synchronized all at once, right?
- superasn 9y agoYes that is correct
- mpanta 9y agoMaybe than something like google Repo could be of help? Or maybe even a custom script using rsync to/from Dropbox with appropriate exclude options. Probably using something similar to what's described in https://unix.stackexchange.com/a/168602 https://unix.stackexchange.com/a/168602 or even better using git ls-files -i to get the ignore list (https://git-scm.com/docs/git-ls-files https://git-scm.com/docs/git-ls-files).