Git Bashを使ってレポを作成しました。これはgithub.comのローカルとリモートのrepoです。 私はテストのためにREADMEファイルをプッシュし、うまくいきました。しかし、唯一のGit Bashの通じ、Git pushはGit Bashで動作しますが、SmartGitやTortoiseGitでは動作しません
Hi SOME_USERNAME! You've successfully authenticated, but GitHub does not provide shell access.
をそして私は、ファイルと、すべてをプッシュすることができるよ:
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
hideDotFiles = dotGitOnly
[gui]
pruneduringfetch = true
encoding =
[remote "origin"]
url = [email protected]:SOME_USERNAME/some-project-name.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
そして$ ssh -V [email protected]
ができます:私の設定ではすべてが大丈夫そうです。 はしかし、私はで動作するようにしようとしましたし、それは私に次のエラー与えた:私は手動でこれに「起源」のURLを変更した場合
The remote end hung up unexpectedly
を:
それは働きました。だから "git @ ..."では動作しませんが、 "https:// .."で動作します。 私は別のプログラムSmartGitを試しました。また、私に
The remote end hung up unexpectedly
を与えるが、私は、SmartGitで、この "変更URLトリック" を実行しようとするとき
Push: Authentication failed
Authentication failed Setting remote
Setting remote service path not supported by protocol.
: "https://では..." それは私に次のエラーを与えます私はこのすべてのもので完全に失われています。私は間違って何をしていますか?
TortoiseGitとGitBashが同じsshキーを使用しているかどうか知っていますか? – Douglas