我有一个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