Closed GernotMaier closed 4 months ago
Why introducing a pre-commit just to by-pass it? Is there a way to automatically by-pass the files that are already in the project such that we don't need to do that by hand in every commit?
The other way around: we introduce a pre-commit to avoid committing large files by accident.
If we actually want to do it, we have to consciously bypass the pre-commit stage.
The other way around: we introduce a pre-commit to avoid committing large files by accident.
If we actually want to do it, we have to consciously bypass the pre-commit stage.
Ok! I thought we would need to by pass every time because the files are already there. All good here then.
The reason why the simtools repo is so large is that we have uploaded at some point accidentally some very large files.
To prevent this, introduced a pre-commit to prevent this:
Set the max value to 500 kB. We have a couple (4-5 files) above this value; in this case I am expected that we consciously bypass the pre-commit hook.