I want to use the old behaviour for submodule metadata.
What command line should I use?
1) clone repository –recursive
2) Add new submodule
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If I understand the question correctly, you want to have the submodule repository in the
.gitdirectory of the submodule’s working tree as it used to be stored. There isn’t an option to do that. If your version of git supports the new method of storing the repository info inside the parent repository, that method will always be used for new submodules.