Files
CommonLib/git_scripts/unignore_a_tracked_file.sh
2025-03-14 14:19:50 -07:00

12 lines
160 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 --no-skip-worktree $1