fatal: bad object xxx

前端 未结 12 2102
[愿得一人]
[愿得一人] 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 17:57

    I ran into the same error when trying to cherry-pick (on A) the commit of another branch ( B). Issue was stupid, simply forgot to git push the commit (B).

提交回复
热议问题