in git bash for command $ git init ->says fatal: unable to access 'C:\Users ame/.config/git/config': Invalid argument .here dir was C:\Users\name/.config/git/config #21935

Open
opened 2026-01-31 07:58:46 +00:00 by claunia · 0 comments
Owner

Originally created by @nafeu-khan on GitHub (Jul 7, 2024).

Windows Terminal version

No response

Windows build number

No response

Other Software

No response

Steps to reproduce

\n is going to be a newline here in git bash . c\users\name it should be valid path in git bash terminal

Expected Behavior

should create .git folder

Actual Behavior

in git bash for command $ git init ->says fatal: unable to access 'C:\Users ame/.config/git/config': Invalid argument .here dir was C:\Users\name/.config/git/config

Originally created by @nafeu-khan on GitHub (Jul 7, 2024). ### Windows Terminal version _No response_ ### Windows build number _No response_ ### Other Software _No response_ ### Steps to reproduce \n is going to be a newline here in git bash . c\users\name it should be valid path in git bash terminal ### Expected Behavior should create .git folder ### Actual Behavior in git bash for command $ git init ->says fatal: unable to access 'C:\Users ame/.config/git/config': Invalid argument .here dir was C:\Users\name/.config/git/config
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21935