You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
As soon as I try to open a project in sourcetree on windwos I get the following error
"fatal: unable to access '"C:\Users\<user>"/.config/git/config': Invalid argument"
why I sourcetrree loking in the directory and how to chnage that? My global Git config is on
'"C:\Users\<user>"/.gitconfig'
I tried a lot already any help welcome
Hi Daniel,
I had the same issue.
To fix it I opened Environment Variables (open Control Panel -> System -> Advanced system settigns, tab: Advanced, click Environment Variables...).
In User variables for <user> had a variable: HOME with value
"c:\Users\<user>"
Replace the value with value:
c:/Users/<user>/
Now should work fine!
Cheers,
Robert
You sir, are a star! I've been having issues with Source Tree not reading my global configuration for some reason and kept creating a local copy of .git that I didn't want.
Adding this Env Variable sorted it out :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How can I solve this issue if I don't have permissions to change system variables or my .gitconfig is not located in the HOME directory?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Robert
Excellent! That worked!
I was searching for months for a solution to that.
Thx again, Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.