~/repo/samples>git rm subviews.js
rm 'samples/subviews.js'
Deletion of directory 'samples' failed. Should I try again? (y/n) n
Why does it try to delete directory when I clearly told that I want to delete the file?
To make it more clear:
The same directory contains about 10 more files and they are also tracked by git.
Likely, the directory samples
would be empty after the file removal. Git would normally delete it then, however since your shell's working directory is also in the same directory, removal fails.
Upgrade to the latest version of msysgit.
I've had this for a long time with msysgit v1.7.11. After upgrading to v1.8.5 the problem disappeared.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With