📌  相关文章
📜  带有访问令牌的 git 子模块克隆 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:26.833000             🧑  作者: Mango

代码示例1
% gh auth login
? What account do you want to log into? GitHub.com
? What is your preferred protocol for Git operations? HTTPS
? Authenticate Git with your GitHub credentials? Yes
? How would you like to authenticate GitHub CLI? Paste an authentication token
Tip: you can generate a Personal Access Token here https://github.com/settings/tokens
The minimum required scopes are 'repo', 'read:org', 'workflow'.
? Paste your authentication token: 
****************************************
- gh config set -h github.com git_protocol https
✓ Configured git protocol
✓ Logged in as florin