,你有你的遙控器列表隊友這個問題是有關我的問題在understanding rebase, branch and merge, 和無法Git的推高手Github上
你怎麼能保證你的github帳戶的問題?
我發現other people有同樣的問題。 這個問題似乎與/etc/xinet.d/有關。
問題:無法在Github上我的本地分支推到我的主分支
我跑
git push origin master
我得到
fatal: 'origin' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
該錯誤信息顯示我的分支'origin'不在我的本地git倉庫中。這樣,Git停止連接到Github。
這很奇怪,因爲我沒有刪除分支的「起源」。
我的git樹是
dev
* master
ticgit
remotes/Math/Math
remotes/Math/master
remotes/origin/master
remotes/Masi/master
你怎麼可以把你的本地分行Github上,而你在本地的Git有隊友的分支?
VonC的答案解決了主要問題。 我把通行證放到了我的ssh密鑰中。
我跑
$git push github master
我得到
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
看來,我需要給GIT中的密碼莫名其妙。
如何讓Github請求您的密碼而不是依賴於ssh密鑰?
剛剛更新了我的答案。Ssh參數不是全部。 user.name和github.user也很重要 – VonC 2009-05-28 20:15:25
再次更新我的答案,還有一些更多的ssh配置檢查 – VonC 2009-05-29 04:08:56
「Permission denied(publickey)」。實際上意味着您嘗試使用您的公鑰進行登錄,並且權限被拒絕,而不是被允許訪問您的公鑰。 – 2009-10-06 22:38:46