Is there a global .gitconfig setting that allows to change the default of the ignore-submodules option from “all” to “dirty”, “untracked”, or “none”?
Share
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.
From git config:
diff.ignoreSubmodulesis supposed to override any ‘submodule.<name>.ignore‘ settings.And it sets the default value of the
--ignore-submodulescommand-line option.However, Allan Jensen reports (in 2019, nine years later) that feature as not working, and proposes a patch, shown in this diff.