add files
This commit is contained in:
8
scripts/hooks/pre-commit
Normal file
8
scripts/hooks/pre-commit
Normal file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# List of files to ignore
|
||||
ignore_files=("envfile") #("file1" "file2")
|
||||
|
||||
for file in "${ignore_files[@]}"; do
|
||||
git update-index --skip-worktree $file
|
||||
done
|
Reference in New Issue
Block a user