git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to commit removed file?
@ 2006-12-31 10:24 Michael S. Tsirkin
  2006-12-31 15:06 ` Johannes Schindelin
  2007-01-02 20:10 ` Michael S. Tsirkin
  0 siblings, 2 replies; 16+ messages in thread
From: Michael S. Tsirkin @ 2006-12-31 10:24 UTC (permalink / raw)
  To: git

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".


-- 
MST

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2007-01-12 10:43 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-31 10:24 How to commit removed file? Michael S. Tsirkin
2006-12-31 15:06 ` Johannes Schindelin
2007-01-02 20:10 ` Michael S. Tsirkin
2007-01-02 21:12   ` Johannes Schindelin
2007-01-02 21:40     ` Junio C Hamano
2007-01-02 22:13       ` Jakub Narebski
2007-01-02 22:20       ` Johannes Schindelin
2007-01-03  0:55       ` Carl Worth
2007-01-06  1:57         ` Junio C Hamano
2007-01-12  1:40           ` Carl Worth
2007-01-12 10:42             ` Jakub Narebski
2007-01-03  6:06       ` Michael S. Tsirkin
2007-01-03  6:51         ` Junio C Hamano
2007-01-03  7:14           ` Junio C Hamano
2007-01-04 17:41             ` Michael S. Tsirkin
2007-01-02 21:49     ` Juergen Ruehle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).