fatal: unable to access ‘H:\/.config/git/config’: Invalid argument [Git on Windows 7]

I experienced a similar issue when not connected to my work network via VPN. Running the following from a command window worked for me:

net use H: /delete

This command actually deleted the H drive. If you actually use the mapped drive that is causing the issue, then this way could cause you other problems that would only be solved by remapping the drive (net use H:, followed by the mapped drive path). As a note, I did delete the HOME% variables (using “set HOME=” from the command line), but it did work until the command above was run.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)