fork-dev / Tracker

Bug and issue tracker for Fork for Mac
498 stars 12 forks source link

how to commit with --no-verify option #1970

Open SmithJackyson opened 10 months ago

DanPristupov commented 10 months ago

https://github.com/fork-dev/Tracker/issues/948#issuecomment-604000807

SmithJackyson commented 10 months ago

948 (comment)

Is there another way to skip pre-commit hook before commit, you fixed it, but you have to run pre-commit hook when recommit, that will take some time.

DanPristupov commented 10 months ago

No, I don't know where to put this option. It need to be intuitive but also not bother people who don't use hooks.

SmithJackyson commented 10 months ago

No, I don't know where to put this option. It need to be intuitive but also not bother people who don't use hooks.

截屏2023-09-16 11 11 45

this is my advice, you can design a button on commit view, this button will show secondary menu, put some rarely used options in this menu. people use those options will know what they are doing, and it will not bother people who don't use hooks

ValentinGurkov commented 7 months ago

I can also suggest adding the option to the "commit options" dropdown on the right.