I am building some custom rpm packages, and am trying to include the source of another project as a submodule to build from. During my first run I added the package and when I looked at the Github page I could see the icon showing the linked submodule, but it was in the wrong place.
I did some changes to place the submodule where I need it (in a /SOURCES
folder) but when I commit or try to do anything to update the repo I am not seeing anything which indicates the submodule is loading in the correct place.
I also don't see any changes when using submodule update
or any other related command.
Should I just erase the .gitmodules
file and start over? I am worried that will have unforeseen consequences. Is there any command to tell git to check the .gitmodules
file and take action accordingly?
Thanks for any help.