python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Find wrapped strings in a pre-push git hook
I am trying to go through the changes being made in a git push and find any instance of a wrapped string like so: ___('something to be translated') so that I can make some subsequent API calls with th...
Sharkboots
Votes: 0
Answers: 1
Git hook to increment version number on merge to master
The goal is to automatically increment the version number in package.json when the develop branch is merged to master, but not what a feature branch is merged to develop, nor when then release branch ...
Mathew Alden
Votes: 0
Answers: 1
Fatal: this operation must be run in a work tree - but it is
I'm actively developing working on a repo and want to add a github pre-commit hook - my first.
When I cd into the /.git directory I get the error fatal: this operation must be run in a work tree
I hav...
fotoflo
Votes: 0
Answers: 1
How to configure husky pre-push hook to run tests
I am trying to configure husky pre-push hook to run tests before push. Everything looks fine. After run git push origin hook is fired and tests are runing. Problem is that when tests are done and even...
obaram
Votes: 0
Answers: 3