Git already up to date unless I reset

后端 未结 1 1611
礼貌的吻别
礼貌的吻别 2021-01-19 05:25

I have a cloned repo I use for the live site and I have it pull from a bare repo. For some reason every time I execute \"git pull\" I get the already up to date message. But

1条回答
  •  囚心锁ツ
    2021-01-19 05:37

    That would be the case if are working on a DETACHED HEAD (see this SO question for more)

    gitk detached head

    That happens when you checkout directly a SHA1 commit reference, for instance.

    0 讨论(0)
提交回复
热议问题