Pre-Commit Hooks

Completed Posted 5 years ago Paid on delivery
Completed Paid on delivery

We would like to install two pre-commit hooks in git that modify the commited files.

* One that removes a line of code from each .html file where it finds it `<!-- Last Published: Tue Jan 15 2019 16:32:45 GMT+0000 (UTC) -->` (The date will vary!)

* Another one that ideally would add the current commit's SHA to the file, but as this seems to be impossible ([login to view URL]) maybe simply adds the current repo, branch, date and time (or, another idea, maybe add the PREVIOUS commit's SHA?)

The .sh script for the hook should work on mac, windows (not only WSL) and ideally linux as well.

Git Shell Script Version Control Git

Project ID: #18612820

About the project

2 proposals Remote project Active 5 years ago

Awarded to:

phadiman

Hey I can do these precommit hooks. I have done this before and can do it faster. Please ping me with more details so we can proceed

$35 USD in 3 days
(1 Review)
1.1

2 freelancers are bidding on average $118 for this job

ishika11

Hello, I am interested in your project and ready to discuss about all the technicals requirement for the project. I would request to shed some more light on the project, so we can discuss and suggest you the best. More

$200 USD in 6 days
(0 Reviews)
0.0