我试图通过http克隆一个私人git存储库.这里有一个类似的问题:Git克隆使用http与用户和密码.
有没有办法在没有输入用户/密码的情况下进行git clone?
当我尝试做的时候:
prodroom15:mquimiro$ git clone https://github.com/user:password/Automator.git
Cloning into 'Automator'...
Username for 'https://github.com':
Password for 'https://github.com':
Run Code Online (Sandbox Code Playgroud)
我该如何做到这一点,以便我不必手动输入用户名/密码?
请注意,正常https://github.com/user/Automator.git并在提示符下手动输入用户/密码正常.
| 归档时间: |
|
| 查看次数: |
33855 次 |
| 最近记录: |