Files
spotify-quickauth/.hooks/pre-commit.sh

7 lines
165 B
Bash
Executable File

#!/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