i am new to git and i am doing a test repository to see how it goes.
First when i did git add
i had a warning telling me that my file will be turned to clrf or something like that.
So i tried to change it just to see what it does.
I did something like git config core.autocrlf = false
What i did not expected is that the "=" would be passed as a value to this boolean.
It make's very little sens to me.
So i don't need = to assign a value to a variable fine. I did it again this time git config core.autocrlf false
Then i did git add
and get the following message :fatal: bad boolean config value "=" for 'core.autoclrf
Then i did the git config --get-all core.autocrlf
command to understand. And i'v seen that the value is not override when i set a new value, insted it's add a line with an other value.
I'v checked in my "/Git/etc/gitconfig" file to see what value was set to the autocrlf variable to see if i could change it directly from here but the value was "true".
So i don't understand where the values are stored.
Also i tried
git config --unset-all core.autocrlf
git config --replace-all core.autocrlf
git config --system --unset core.autocrlf
None of that worked. For the last one it was funny, i had a permission denied then did chmod u+x gitconfig
but get a changing permission of gitconfig: permission denied.
So if you know how am i suppose to change the value of this boolean "core.autocrlf" so i can add my repository let me know.##