Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Git配置的国际自动登录_Git - Fatal编程技术网

Git配置的国际自动登录

Git配置的国际自动登录,git,Git,我想知道是否有办法将自动登录凭据输入windows域的.git/config http行。显然,反斜杠对于.git/config文件来说是一个坏字符 Ex: http://country\my_username:mypassword@my_git_repo.git 是的,我知道这不是最好的安全实践,但我们在防火墙后面的内部网络上,可以根据我们的需要修改规则 蒂亚 Robbie根据Git文档(),反斜杠必须作为双反斜杠转义:\ 理想情况下,您不会将密码放在这里,而是使用Git credentia

我想知道是否有办法将自动登录凭据输入windows域的.git/config http行。显然,反斜杠对于.git/config文件来说是一个坏字符

Ex: http://country\my_username:mypassword@my_git_repo.git
是的,我知道这不是最好的安全实践,但我们在防火墙后面的内部网络上,可以根据我们的需要修改规则

蒂亚


Robbie

根据Git文档(),反斜杠必须作为双反斜杠转义:
\


理想情况下,您不会将密码放在这里,而是使用Git credential helper来存储密码。

谢谢。我们最终找到了使用域的方法,因为它是一个内部托管的git服务器(Bonobo),我们真的可以做任何我们想做的事情。