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 ..."? -- Phlip
What do you mean? When I deleted them from my local machine I just deleted the folder (dragged into trash and emptied). On Jun 20, 10:15 pm, Phlip <phlip2...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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 ..."? > > -- > Phlip
Frederick Cheung
2009-Jun-21 10:16 UTC
Re: plugins still exist even though they''re deleted?
On Jun 21, 9:44 am, Mike C <snib...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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> On Jun 20, 10:15 pm, Phlip <phlip2...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > 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 ..."? > > > -- > > Phlip
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? On Jun 21, 4:48 am, Rakoth <Rakot...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> try > git commit -a -m ''comment''
it adds everything in the current directory to your git repository. On Jun 21, 1:43 pm, Mike C <snib...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Thanks, that seems to have done the trick since but I''ll test again to > make sure. What does that -a option do? > > On Jun 21, 4:48 am, Rakoth <Rakot...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > try > > git commit -a -m ''comment''