SourceTree GUI无法推送,终端可以推送 [英] SourceTree GUI can't push, terminal can push

查看:1135
本文介绍了SourceTree GUI无法推送,终端可以推送的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下问题:
当我提交时,我无法点击GUI按钮
来推送它们。我收到以下错误消息:

Following problem: When I commit things, I can't push them by clicking on the GUI push button I get this error message:


git -c diff.mnemonicprefix = false -c core.quotepath = false push -v
--tags origin master:master
推送到ssh:// xxxxx @ git.mydomain.de / srv / git / MyFolder / MyProject.git

git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin master:master Pushing to ssh://xxxxx@git.mydomain.de/srv/git/MyFolder/MyProject.git

致命:无法从远程存储库读取。

fatal: Could not read from remote repository.

请确保您拥有正确的访问权限并存在存储库

Please make sure you have the correct access rights and the repository exists.

当我复制EXACT同样的命令从这个错误信息,并点击终端按钮并粘贴在那里,它像预期的那样工作,没有任何错误。

When I copy the EXACT same command from this error message and klick on the "Terminal" button and paste it there, it works like expected, without any errors.

我做错了什么?

推荐答案

我猜SourceTree无法读取远程存储库,因为它无法验证您的身份。

I guess SourceTree can not read from the remote repository because it can not authenticate you.

确保SourceTree可以访问您的ssh密钥。您可以使用 pagent 执行此操作。

Make sure that SourceTree can access your ssh key. You can use pagent to do that.

这篇关于SourceTree GUI无法推送,终端可以推送的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆