生成github PAT的流程 1. Settings → Developer Settings →
Personal Access Token → Tokens (classic) → Generate New Token 2.
加入Note,勾选repo,admin:repo_hook等权限 3. For Linux, you need to
configure the local GIT client with a username and email address,
1
2$ git config --global user.name "your_github_username"
$ git config --global user.email "your_github_email"1
2
3
4git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY
> Cloning into `YOUR-REPOSITORY`...
Username: <type your username>
Password: <type your password or personal access token (GitHub)1
git config --global credential.helper cache
1
2$ git config --global --unset credential.helper
$ git config --system --unset credential.helper