【发布时间】:2021-04-17 07:01:39
【问题描述】:
以下是克隆 git 私有存储库的可能性:
$ git clone https://github.com/username/repo.git
Username: your_username #the username
Password: your_token #the string that can be found by generating here https://github.com/settings/tokens
如何在php中使用
shell_exec("git clone https://github.com/username/repo.git");
设置用户名和密码?
【问题讨论】: