When I tried to clone project, why I get the error like this :

It was said that no url found for submodule path in .gitmodules
Anyway, where is the location file of .gitmodules? How to fix the error? Thanks in advance
As the Git docs says (emphasis mine):
The .gitmodules file, located in the top-level directory of a Git working tree, is a text file with a syntax matching the requirements of git-config.
So if your repository is in C:\Users\Asus\Documents\PDA, the file should be in C:\Users\Asus\Documents\PDA\.gitmodules.
Submodules have a path an a URL; it appears your file defines a submodule without URL. You may want to edit the file to either remove the submodule or add a URL.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With