Couldn't checkout my branch

已回答

Error:

09:46 Couldn't checkout develop
Switched to branch 'develop'
cannot spawn .git/hooks/post-checkout: No such file or director

 

The same error cames out also with others git commands, how to solve?

Informations:

  • OS: Windows 10
  • Toolchain:MSVC 14.26.28801 amd64
  • Git:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\Git\cmd\git.exe

Many thanks

0

Hello @...

It seems that you have some post-checkout hook configured. 
IDE relies on command-line git, could you please check whether checkout and other git commands in Widnows Command-line behave the same way? 

0

请先登录再写评论。