mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-21 19:32:31 -05:00
Use -f when deleting a gitmodule incase it hasn't been committed yet
This commit is contained in:
parent
264f83a588
commit
bed3eb2ae0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue