开发者

How to change the path where Git creates ssh file while "remote add origin ..."?

开发者 https://www.devze.com 2023-04-05 23:36 出处:网络
Good times! Please, hint me this moment - I use t开发者_C百科he Windows account with cyrillic account-name. When I try to add my local git repository to github.com, I get the mistake \"Could not crea

Good times!

Please, hint me this moment - I use t开发者_C百科he Windows account with cyrillic account-name. When I try to add my local git repository to github.com, I get the mistake "Could not create directory c/Users/\204\206" ... and I suspect due to my account is cyrillic. So - how to change this behavior? I want to use Git without changing or renaming account?


Git doesn't create any directories when you add a remote repository. That is, if you type a command like this:

git remote add origin git@github.com:you/yourproject.git

The only thing that happens is that git adds a couple of lines to the .git/config file.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号