Ruby on Rails
Friday, January 31, 2014
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
-- 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+unsubscribe@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/cc4079f7-7675-4f3f-93f9-6ed39cd1c74b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment