From: Michael S. Tsirkin Date: Tue, 02 Jan 2007 20:10:41 GMT Subject: Re: How to commit removed file? Message-ID: <20070102201041.GB10451@mellanox.co.il> In-Reply-To: <20061231102444.GD26552@mellanox.co.il> > I'd like to remove a file and commit the removal while > leaving out other changes in repository/index. > > $git rm kernel_patches/fixes/ib_verbs_warning_fix.patch > rm 'kernel_patches/fixes/ib_verbs_warning_fix.patch' > > $ git commit kernel_patches/fixes/ib_verbs_warning_fix.patch > error: pathspec 'kernel_patches/fixes/ib_verbs_warning_fix.patch' did not match > any file(s) known to git. > Did you forget to 'git add'? > > A similiar thing works with "git add". Any ideas? Can this be done with git? -- MST