github 新的push方式

不能够直接用github的username和password来push代码了。

需要用自己的github token

 拼接处下面的url地址:

 

然后执行git push url

如果想每次仍然使用git push命令:

使用git remote set-url origin https://ghp_<your_token>@github.com/<userName>/example.git 

 

posted @ 2023-05-04 23:36  justinzhang  阅读(86)  评论(0编辑  收藏  举报