For some reason I ignore, a avi file has been copied or inserted in my local git repository and renamed as it be an object. In Nautilus its icon shows the movie preview and if I double-click on it, I can watch the movie.
Now I can't commit my files so, once I have understood what happened, I have tried to delete it opening Nautilus as root or using sudo rm -i and the object name as it appears in Nautilus and in git error, but I get an error telling the file or the directory doesn't exist.
I can't just clone the repositories from BitBucket because it is not updated: I got this error some days ago but I had to go on with the work, so now I have a lot of changes not committed nor pushed.
I would like just to delete the movie from the repo but I don't know how to do it.
Someone can tell me what I have to do? btw, I'm new to Git and generally speaking not so confident with version control commands )
Thank you so much for any help.