【发布时间】:2019-09-26 21:45:30
【问题描述】:
我想知道是否有人遇到过这个问题。我在this 之后创建了一个个人访问令牌,并且还授予了对访问令牌的完全回购访问权限。
我可以通过以下方式克隆 repo:
git clone https://<Personal Access Token>@github.com/<Org name>/<Repo_name>.git
但我无法推送它给我的错误:
remote: Repository not found.
atal: repository 'https://<Personal Access Token>@github.com/<Org name>/<Repo_name>.git/' not found
运行git remote -v 给出:
origin https://<Personal Access Token>@github.com/<Org name>/<Repo_name>.git (fetch)
origin https://<Personal Access Token>@github.com/<Org name>/<Repo_name>.git (push)
如果您需要更多信息,请告诉我。
【问题讨论】:
-
你用什么命令推送?
git push ... -
别担心...我发现具有访问令牌的帐户只有读取权限...