0

I want to run my tests before every commit. So under .git/hooks/pre-commit file, I write the code to run my tests. This works fine in my local. However, I don't find the changes I made to the pre-commit file present in the git stage. Nor is it part of the PR. Will this be available to anyone who clones or pulls the branch? If now how can I make this global to the project?

AnandShiva
  • 906
  • 11
  • 22

0 Answers0