Use -f when deleting a gitmodule incase it hasn't been committed yet

master
Kevin MacMartin 5 years ago
parent 264f83a588
commit bed3eb2ae0

@ -10,7 +10,7 @@ else
fi
if [[ -d "vim/bundle/$1" ]]; then
git rm "vim/bundle/$1"
git rm -f "vim/bundle/$1"
else
printf '%s\n' "Couldn't run 'git rm vim/bundle/$1', does not exist" >&2
exit 1

Loading…
Cancel
Save