All of lore.kernel.org
 help / color / mirror / Atom feed
From: Seth Falcon <sethfalcon@gmail.com>
To: Alex Riesen <raa.lkml@gmail.com>
Cc: "David Kågedal" <davidk@lysator.liu.se>, git@vger.kernel.org
Subject: Re: Removing files
Date: Thu, 11 Jan 2007 14:25:46 -0800	[thread overview]
Message-ID: <m2k5ztciad.fsf@gmail.com> (raw)
In-Reply-To: <20070111213645.GA6058@steel.home> (Alex Riesen's message of "Thu, 11 Jan 2007 22:36:45 +0100")

fork0@t-online.de (Alex Riesen) writes:

> David Kågedal, Thu, Jan 11, 2007 21:10:20 +0100:
>> 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

  reply	other threads:[~2007-01-11 22:25 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-11 20:10 Removing files David Kågedal
2007-01-11 21:36 ` Alex Riesen
2007-01-11 22:25   ` Seth Falcon [this message]
2007-01-11 22:41 ` Junio C Hamano
2007-01-11 23:19   ` Eric Wong
2007-01-11 23:36   ` Junio C Hamano
2007-01-11 23:37   ` [PATCH] git-status: wording update to deal with deleted files Junio C Hamano
2007-01-11 23:56     ` Carl Worth
2007-01-12  0:13       ` Junio C Hamano
2007-01-12  1:28         ` Carl Worth
2007-01-12 19:48           ` Jakub Narebski
2007-01-12  0:07     ` Jeff King
2007-01-12 22:13     ` Juergen Ruehle
2007-01-11 23:41 ` Removing files Carl Worth
2007-01-12  0:17   ` Jeff King

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2k5ztciad.fsf@gmail.com \
    --to=sethfalcon@gmail.com \
    --cc=davidk@lysator.liu.se \
    --cc=git@vger.kernel.org \
    --cc=raa.lkml@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.