Ruby on Rails Friday, January 31, 2014

On 31 January 2014 14:56, Bizt <martyn.biz@gmail.com> 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.

Use git gui (unless you don't have a graphic UI). Then it is easy.

Colin

--
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/CAL%3D0gLtcNoB8Ctre4Gcw4_qE55TTtALCxZQKdrgMRp1KJLwojA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment