开发者

post-recieve not invoked when pushing from GIT Bash on Windows

开发者 https://www.devze.com 2023-03-04 23:18 出处:网络
Hey, I have a post-receive hook enabled on my remote repository, works fine when pushing tags\\commit upstream from Linux Machine. ( although I have to sudo when pushing ) .

Hey, I have a post-receive hook enabled on my remote repository, works fine when pushing tags\commit upstream from Linux Machine. ( although I have to sudo when pushing ) . However - when pushing from Windows Git client, scripts i开发者_如何学Pythons not invoked. Any Ideas ?

Thanks, Ran


Are the scripts not invoked or you are not just seeing the output of the script on the Windows Git client? Anyway, I would recommend you to update the client if it is not latest.


Might be a ridiculous suggestion. But are you really sure that you push to the same repository? Check with git remote -v and compare origin (or whatever your remote repo is called)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号