Git pre-push hooks -


i run unit-tests before every git push , if tests fails, cancel push, can't find pre-push hook, there pre-commit , pre-rebase only.

i rather run test in pre-commit-hook. because change recorded when committing. push , pull exchange information recorded changed. if test fails have "broken" revision in repository. whether you're pushing or not.


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -