Use 'git add -u' or add the specific files you've removed ex. 'git add 
app/removed_file.rb'

On Friday, January 31, 2014 8:56:51 AM UTC-6, Bizt wrote:
>
> Hi,
>
> In rails I run "rails generator destroy..." for my controllers and models. 
> When I "git add . " files and commit changes, git tells me I have missing 
> files. How best to handle this? I want the files off git as I don't need 
> them anymore, they're not in my local repository. Do I then need to 
> manually "git rm ..." for each one. Is there is quick way to just remove 
> these files from git? Usually destroy command deletes many files.
>
> Cheers
> Bizt
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/996ea34f-b95c-4e3e-9f06-ba622e0900a3%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to