How can I find/list the global and the users config files? I mean "Git-native functionality", not Linux commandos like find.
How can I find/list the global and the users config files? I mean "Git-native
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.
In this question a comment indicated how to know which file is related to
--system,--globaland--local.In short you just use
--edittogit config:If you replace the environment-variable
EDITORwith e.g.echoyou can receive it in a variable, ie. you can use it programmatically:prints
/etc/gitconfigin my case.