我有一個post-receive掛鉤腳本坐在遠程回購我推到不一個git reset --hard
上混帳推硬復位
事情是這樣的:
$ git push opal
Counting objects: 74, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (45/45), done.
Writing objects: 100% (53/53), 16.68 KiB, done.
Total 53 (delta 20), reused 0 (delta 0)
remote: warning: updating the current branch
remote: HEAD is now at 88f1e35 tweak lavalamp styles
什麼,我不明白這裏是 - 遠程表示頭現在在XXX,但是當我登錄到服務器 - 遠程工作副本根本沒有更新!
有什麼想法嗎?
當你遇到問題時,你應該發佈你的鉤子腳本。 – 2011-04-04 03:35:44
Chris,我的post-receive腳本只包含那一行。無需發佈。 – David 2011-04-04 18:51:12