We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the pre-commit hook (e.g., lua hook), I'm looking for a way to write into the repo.
Example, I structure my repo as
data/ # multiple json stats.txt
Then I want to have a pre-commit hook to always count how many files in data, and write that into the stats.txt, e.g.,
data
Number of files in data/ are 107 .
I know I can publish somewhere else, e.g., a s3 location. But I'm looking for a solution to directly write into the repo.
The text was updated successfully, but these errors were encountered:
Thanks for opening this request @HMJiangGatech!
To assist in finding the right solution for your use case, do you mind answering these questions:
I'm asking because the following solution may better fit your use case:
data/
stats.txt
Do you think this would work for you?
Sorry, something went wrong.
No branches or pull requests
In the pre-commit hook (e.g., lua hook), I'm looking for a way to write into the repo.
Example, I structure my repo as
Then I want to have a pre-commit hook to always count how many files in
data
, and write that into the stats.txt, e.g.,I know I can publish somewhere else, e.g., a s3 location. But I'm looking for a solution to directly write into the repo.
The text was updated successfully, but these errors were encountered: