Open zielu opened 2 years ago
Nice idea for some branches!
So what would we useful here is visual indication of branch being locked ?
Preventing commit is not hard - just implement another pre commit handler.
If we are talking actively preventing push, it requires doing one of two ugly things:
I really like the visual indicator idea.
Not sure the pre-commit-hook is something I'd like an IDE plugin to interfere with, though.
I always work with multiple branches, and we have some branches that we are not allowed to push or commit anything, I know we can manage this on the admin setting, but on our machine, if there is a way where we can add few branches which shows the locked symbol so that we can not commit or push the code by mistake.