mirror of
https://github.com/Xevion/spotify-quickauth.git
synced 2025-12-12 07:11:23 -06:00
Add pre-commit, pre-push hooks formally
This commit is contained in:
7
.hooks/pre-commit.sh
Executable file
7
.hooks/pre-commit.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Remove all lines starting with >[! from CARGO_README.md
|
||||
sed -i '/^>\[!/d' CARGO_README.md
|
||||
|
||||
# Add the modified file to the commit
|
||||
git add CARGO_README.md
|
||||
Reference in New Issue
Block a user