We're moving to Git. Now i've read everything which says don't use submodules with Git, however, I think it fits our purpose. We have shared libraries that need to be updated no matter which project they're in and then synced back to the server.
I've added the project to git, added a subproject and that all seems to work. However, a really weird thing happens, as soon as I save a file in visual studio that's part of the subproject, it no longer marks it as a change and I can no longer commit it or push it. It all works fine in the main project. It marks it as changed until the file is saved and then it disappears?
Any clues/tips would be really appreciated
There is a request in VisualStudio UserVoice to allow Commit changes to a submodule using VS, the request specifies the following:
If you also want these features to be implemented please vote here so it will get prioritized