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

c++ - list<myClass<int> * > sort -

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

java - why am i getting a "cannot resolve method" error on getApplication? -