How to achieve 'pre-checkout' hook in Git/bitbucket?

后端 未结 3 673
故里飘歌
故里飘歌 2021-02-19 10:41

Result of lots of searching on net is that pre-checkout hook in git is not implemented yet. The reason can be:

  • There is no practical use.
3条回答
  •  失恋的感觉
    2021-02-19 10:45

    I got the reason why it was not implemented. In my situation I do backup the database and store it in a file, which will fail the check-out every-time. So this will be impractical to implement this functionality.

提交回复
热议问题