Is it possible to run `poetry install` every time I switch git branch?
已回答
If I switch between branches with different requirements I would like Idea to run `poetry install` automatically. Is it possible?
请先登录再写评论。
Hi,
Yes, you must configure post-checkout git hook:
Please see https://stackoverflow.com/questions/1011557/is-there-a-way-to-trigger-a-hook-after-a-new-branch-has-been-checked-out-in-git