PhpStorm:无法再使用 push window 进行推送(登录到 GitHub)
PhpStorm: Can't push anymore with push window (Log In to GitHub)
当我使用推送时window
然后我点击推送,突然弹出一个窗口。
当我使用弹出窗口中的按钮成功登录时
我再次尝试推送后仍然收到登录弹出窗口
但是当我使用同一个 github 用户的终端,并推送到同一个存储库时,它就可以工作了。
看来用户有写入权限。但是我应该怎么做才能使 push window 再次起作用?
编辑
在事件日志中,有 Repository not found
错误,但是当我转到 URL 时,我可以看到存储库。
09:39 Push failed
remote: Repository not found.
Authentication failed for 'https://github.com/..bla...git/'
这个问题似乎是在我的同事设置 github teams
后发生的,我的帐户已连接到该位置。
最后,我的解决方案是将远程 url https
变体更改为 ssh
变体。
git remote set-url origin git@github.com:[repo-owner-username]/[repo-name].git
现在使用推送 window 推送 PhpStorm 再次工作。
当我使用推送时window
然后我点击推送,突然弹出一个窗口。
当我使用弹出窗口中的按钮成功登录时
我再次尝试推送后仍然收到登录弹出窗口
但是当我使用同一个 github 用户的终端,并推送到同一个存储库时,它就可以工作了。
看来用户有写入权限。但是我应该怎么做才能使 push window 再次起作用?
编辑
在事件日志中,有 Repository not found
错误,但是当我转到 URL 时,我可以看到存储库。
09:39 Push failed
remote: Repository not found.
Authentication failed for 'https://github.com/..bla...git/'
这个问题似乎是在我的同事设置 github teams
后发生的,我的帐户已连接到该位置。
最后,我的解决方案是将远程 url https
变体更改为 ssh
变体。
git remote set-url origin git@github.com:[repo-owner-username]/[repo-name].git
现在使用推送 window 推送 PhpStorm 再次工作。