if you add origin remote,please remove it first:
git remote rm origin
ant then:
git remote add origin https://USERNAME:PASSWORD@github.com/username/reponame.git
from: stackoverflow
if you add origin remote,please remove it first:
git remote rm origin
ant then:
git remote add origin https://USERNAME:PASSWORD@github.com/username/reponame.git
from: stackoverflow
Author: LuneShao
Link: https://luneshao.github.io/2020/2020-11-04-how-push-to-github-private-rep/
本文采用知识共享署名-非商业性使用 4.0 国际许可协议进行许可