在github上创建了一个私有仓库

git push出错_javascript

 

 但是push代码时出错。。

git push出错_sed_02

 >>​​https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/​

>>Creating a personal access token​

-使用git提交代码到github仓库​

-git之github使用(一):push代码到github​


使用Token代替Password(用户名不变)

Personal access tokens function like ordinary OAuth access tokens. They can be used instead of a password for Git over HTTPS, or can be used to authenticate to the API over Basic Authentication.

 

git push出错_sed_03

Changes not staged for commit ​