Closed MichaelKora closed 5 months ago
Right now, when a documentation file is outdated, the pre-commit / git commit command need to be executed at least three time:
pre-commit
git commit
It would be ideal if the command can be just executed once and all of those steps will be at once if needed.
git-commit
pre-commit run --all-files
git commit -m"xxxx"
Executing it multiple times is the expected behaviour by the pre-commit and there is no parameter to configure this further
Right now, when a documentation file is outdated, the
pre-commit
/git commit
command need to be executed at least three time:It would be ideal if the command can be just executed once and all of those steps will be at once if needed.
Acceptance Criteria
git-commit
needs to be run just once.pre-commit run --all-files
andgit commit -m"xxxx"
have the exact same behaviour.