git submodule update ignores .gitmodules
I have a git repo which has a submodule. The contents of the .gitmodule file for the main repo are: [submodule "wits-mercuryAPI"] path = wits-mercuryAPI url = https://github.com/myorganization/wits-mercuryAPI.git I would expect that when I issue the command... git submodule update ... it would correctly clone the submodule from the location specified in the url of the .gitmodule file. However, it apparently tries to use an older version of this file where the url points to an incorrect url, and therefore fails. For the life of me I can't figure out why it behaves this way or what magic hidden
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.