fatal: bad object xxx

前端 未结 12 2107
[愿得一人]
[愿得一人] 2021-02-03 17:00

I tried reverting to a previous git commit with:

git revert xxx

I\'m now receiving this error as a response:

fatal: bad object          


        
12条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-03 18:02

    you need to do git fetch to get the latest commits in sync with local

    git fetch

    then do

    git revert

提交回复
热议问题