1, first delete the submodule entries
Select the subdirectory you want to delete right-click Delete, and the submodule disappears after it is deleted.
And then look at the. Gitmodules found deleted inside
[Submodule "Iphoneapp/submodules/projectname"]
Path = Iphoneapp/submodules/projectname
url = [email protected]:d Izhi/projectname.git
At the same time, for example, subproject commit ******************* a string of address IDs in the Iphoneapp/submodules/projectname is deleted
2. Delete the sub-directory link address in configuration file config, delete the following link address
[Submodule "Iphoneapp/submodules/projectname"]
url = [email protected]:d Izhi/projectname.git
3, to the project to remove the actual sub-module code, into the handle module projectname code deleted, OK
IOS Delete submodules in Git take sourcetree as an example