plugins still exist even though they're deleted?

So I deleted some plugins from my app on my local machine and pushed the changes to my git repository. Using capistrano to update the code, I found that the plugins still exist in the current directory! Does anyone have any ideas as to what is causing this?

Mike C wrote:

So I deleted some plugins from my app on my local machine and pushed the changes to my git repository. Using capistrano to update the code, I found that the plugins still exist in the current directory! Does anyone have any ideas as to what is causing this?

Did you enter "rm ..." or "git rm ..."?

What do you mean? When I deleted them from my local machine I just deleted the folder (dragged into trash and emptied).

What do you mean? When I deleted them from my local machine I just deleted the folder (dragged into trash and emptied).

If you did that then you didn't actually delete them from your repository.

Fred

try git commit -a -m 'comment'

Thanks, that seems to have done the trick since but I'll test again to make sure. What does that -a option do?

it adds everything in the current directory to your git repository.