codeinabox@programming.dev to Git@programming.devEnglish · 5 months agopre-commit hooks are fundamentally brokenjyn.devexternal-linkmessage-square15linkfedilinkarrow-up121arrow-down13cross-posted to: lobsters
arrow-up118arrow-down1external-linkpre-commit hooks are fundamentally brokenjyn.devcodeinabox@programming.dev to Git@programming.devEnglish · 5 months agomessage-square15linkfedilinkcross-posted to: lobsters
minus-squareJackbyDev@programming.devlinkfedilinkEnglisharrow-up2·5 months agoActually rebasing before pushing is the best time to do so, so a pre-push hook seems great. You can also have your branch displayed in your shell which would help avoid this.
Actually rebasing before pushing is the best time to do so, so a pre-push hook seems great. You can also have your branch displayed in your shell which would help avoid this.