Files
ols-docker-env/bin/dev/skip-worktree-conf.sh
T

4 lines
171 B
Bash
Executable File

#!/usr/bin/env bash
find conf -maxdepth 1 -type d \( ! -name . \) -exec bash -c "cd '{}' && pwd && git ls-files -z ${pwd} | xargs -0 git update-index --skip-worktree" \;