Files
UdpServer/git_scripts/ignore_a_tracked_file.sh
2025-03-14 14:30:21 -07:00

12 lines
157 B
Bash

#!/bin/bash
length=${#1};
if [[ $length -eq 0 ]]
then
echo "Please specify a tracked file to ignore";
exit 1
fi
git update-index --skip-worktree $1