How to solve git error: Server does not allow request for unadvertised object 3a2ceef391af73994dfeb0d8ef57ed6a52ef4238?

前端 未结 8 2673
攒了一身酷
攒了一身酷 2021-02-19 09:18

I wanted to pull commit \"3a2ceef391af73994dfeb0d8ef57ed6a52ef4238\" from branch android. I used the command:

$ git fetch origin 3a2ceef391af73994dfeb0d8ef57ed6a         


        
8条回答
  •  庸人自扰
    2021-02-19 09:54

    I got the same problem and unsuccessfully tried some of the above solutions. What worked for me is:

    git fetch --unshallow && git fetch origin && git reset --hard origin/master
    

提交回复
热议问题