github 操作,

使用个人访问令牌,

配合 https

才是正理



官方文档



对于已经存在的仓库

git push https://username:password@github.com/username/repository.git

等价于

git push https://username:password@github.com/org/repository.git

等价于

git push https://username:your_token@github.com/username/repository.git

例子

git push https://Deng:mr@github.com/PasteLeChien/gl.git

邓轻舟
384 声望13 粉丝

我叫邓江洲,准备面试中