Thread (1 message) 1 message, 1 author, 2016-06-15
  • (off-list ancestor, not in this archive)
  • Re: Removing files · Seth Falcon <hidden> · 2016-06-15

Re: Removing files

From: Seth Falcon <hidden>
Date: 2016-06-15 22:42:49

fork0@t-online.de (Alex Riesen) writes:
David Kågedal, Thu, Jan 11, 2007 21:10:20 +0100:
quoted
I'm wondering what the best way to commit the removal of a file is.
git commit -a :)
:-(

I just ran into this very same thing.  I would vote for 'git rm'
and/or 'git add' doing the right thing here.  I'm probably missing the
reason they don't already.

Perhaps the doc should also highlight git's globbing, as opposed to
shell globbing as it is particularly useful when you have already
removed files and want to do:

git update-index --remove 'the-old-place/*.txt' 


+ seth
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help