Files
wireguardFW/scripts/hooks/pre-commit
2024-11-29 19:21:48 -05:00

8 lines
168 B
Bash

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