开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜