I'm trying to install GitHub, but it will not create the config file. I was following a tutorial that my university gave me, but it doesn't work on my laptop.
I keep getting an error saying fatal: unable to access 'C:\Users<MYNAME>/.config/git/config': Invalid argument. Every git related command I've used produces the same error. For example (but not limited to):
git config --global
git config --global -l
sudo git -c core.editor=ls\ -al config --system --edit.
When I try uninstalling and reinstalling, the installer throws the same error:
st derr: fatal: unable to access 'C:\Users\<MYNAME>/.config/git/config': Invalid argument
Set home returns:
HOME=C:\Users\<MYNAME>
HOMEDRIVE=C:
HOMEPATH=\Users\MYNAME
I also cannot see the config file. There is no .config folder, and there is no .gitconfig file in /git/mingw64/etc so I'm at a loss. I've tried using the search function for my C: drive to try and find gitconfig, but I can't find it.
My computer's native language is Chinese (and I cannot change it without upgrading to windows pro), so maybe this is causing an error. I have no idea what to do.