我確實承諾進入本地回購,它工作正常。 但是,當我推到遠程回購失敗:未能推到Git的遠程回購
$ git push origin master
Everything up-to-date
Linux的寫道「一切了最新」,但在GitHub上的遠程回購(成功插入與SSH密鑰)只有11天老東西。 有什麼問題?
更新
這裏是以前的輸出後提交(CI = 「提交-A」)
$ git ci
[detached HEAD 5b42c77] updated with financial report to calculate for exact contractor and some with table layout for _analogs.php
12 files changed, 3071 insertions(+), 110 deletions(-)
rewrite htdocs/protected/controllers/FinancialreportController.php (61%)
$ git push origin master 5b42c77
fatal: 5b42c77 cannot be resolved to branch.
$ git push master 5b42c77
fatal: 'master' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
$ git push origin 5b42c77
fatal: 5b42c77 cannot be resolved to branch.
$ git push 5b42c77
fatal: '5b42c77' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
更新2
$ git checkout master
M htdocs/protected/runtime/application.log
Switched to branch 'master'
Your branch is ahead of 'origin/master' by 28 commits.
我可以問你如何將HEAD附加到服務器上的主分支上嗎? – 2014-10-27 10:38:54
@IgorSavinkin首先,你是否在一個分離的HEAD本地? – VonC 2014-10-27 10:39:23
好像是這樣。查看更新問題 – 2014-10-27 10:40:13