【发布时间】:2022-09-27 15:02:32
【问题描述】:
为什么我不能推送到远程?
> git status
On branch main
Your branch is ahead of \'origin/main\' by 1 commit.
(use \"git push\" to publish your local commits)
nothing to commit, working tree clean
> git push
> git push --verbose
我没有忘记输出,它只是不存在。这从来没有发生在我身上。
根据我的经验,95% 的 git 问题都与凭据有关。 所以我试图强迫 git 向我询问他们:
> git push -v --verbose
没有什么。
今天早上我很高兴地推着,中间没有碰任何东西……
编辑(回答问题/添加信息):
> git remote -v
origin https://myusername-admin@bitbucket.org/myusername/someproject.git (fetch)
origin https://myusername-admin@bitbucket.org/myusername/someproject.git (push)
-
你能抵达遥控器?换句话说,也许你和他们之间只有一条网络链接,不管他们是谁。
标签: git