Blog – Chiffers.com

VS Code – Invalid Argument opening .git/config file

Launching VS Code this morning, I was unable to initialise git.

Error:

warning: unable to access ‘C:/Users/craig.xxxxxxx/OneDrive xxxxxxxxxxx/Documents/VS Code/BICEP/Axxxxxxxxxxx/.git/config’: Invalid argument

Resolution:

This was a super simple one. Turns out, my OneDrive was signed out and hadn’t synced recent changes. I re-authenticated with OneDrive which pulled down the most up to date config file, solving the issue.

0 0 votes
Article Rating
Exit mobile version