git rm <path to file> then git commit


On Fri, Mar 29, 2013 at 2:14 PM, Salma Farag Galal <notifications@github.com
> wrote:

> In arability/db/migrate/20130327210228_categories_projects.rb:
>
> > @@ -0,0 +1,12 @@
> > +class CategoriesProjects < ActiveRecord::Migration
> > +  def up
> > +  	drop_table :categories_projects
> > +  	create_table :categories_projects do |t|
> > +  	t.references :category
> > +  	t.references :project
> > +  end
>
> How do I commit deleted files? Ana 3ammala agarrab 7agat bs msh fahma
> … <#13db611dfd8a006e_>
> On Fri, Mar 29, 2013 at 2:06 PM, Mohamed Ashraf <notifications@github.com>wrote:
> > In arability/db/migrate/20130327210228_categories_projects.rb: > > > @@
> -0,0 +1,12 @@ > > +class CategoriesProjects < ActiveRecord::Migration > > +
> def up > > + drop_table :categories_projects > > + create_table
> :categories_projects do |t| > > + t.references :category > > + t.references
> :project > > + end > > you deleted them but didnt commit the delete. when
> you do git status you > will see they have been deleted but not commited >
> … <#13db60ac815d13ed_> > On Fri, Mar 29, 2013 at 1:56 PM, Salma Farag Galal
> < > notifications@github.com > wrote: > In >
> arability/db/migrate/20130327210228_categories_projects.rb: > > > @@ -0,0 >
> +1,12 @@ > > +class CategoriesProjects < ActiveRecord::Migration > > + def
> > up > > + drop_table :categories_projects > > + create_table >
> :categories_projects do |t| > > + t.references :category > > + t.references
> > :project > > + end > > Omal ana 3amalt eh? > … <#13db601d6294922d_> > On
> > Fri, Mar 29, 2013 at 1:49 PM, Mohamed Ashraf <notifications@github.com>wrote:
> In arability/db/migrate/20130327210228_categories_projects.rb: > @@ -0,0
> +1,12 @@ > +class CategoriesProjects < ActiveRecord::Migration > + def up >
> + drop_table :categories_projects > + create_table :categories_projects do
> |t| > + t.references :category > + t.references :project > + end lazem
> te3mely lel deletion commit we ba3deen push — Reply to this email directly
> or view it on GitHub<
> https://github.com/MGhanem/smartsoft-13/pull/157/files#r3584955> . —
> Reply to this email directly or view it on GitHub<
> https://github.com/MGhanem/smartsoft-13/pull/157/files#r3584987> . —
> Reply to this email directly or view it on GitHub<
> https://github.com/MGhanem/smartsoft-13/pull/157/files#r3585044> .
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/MGhanem/smartsoft-13/pull/157/files#r3585084>
> .
>