I need a way to get a list of all default options that could be inserted into .gitconfig
file
I don't mean going through all man pages :) more generic solution that could work for future versions would be most appreciated+
update: the closest I get to actual results is grep -r 'strcmp(var, ' ~/git-cource-code
update2: after 4 years (since version 2.19) git has the possibility of listing all possible config options (sadly without defaults :( )
try git config --list
for local repository or git config --global --list
for global settings and git config --system --list
for system wide settings
Also helpful info about GIT options http://nikedlab.com/tutorial/git-setup.html
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