git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jens Lehmann <Jens.Lehmann@web.de>
To: Junio C Hamano <gitster@pobox.com>
Cc: Ramkumar Ramachandra <artagnon@gmail.com>,
	Jonathan Nieder <jrnieder@gmail.com>,
	Git List <git@vger.kernel.org>
Subject: Re: `git checkout --orpan` leaves a dirty worktree
Date: Sun, 10 Feb 2013 21:10:45 +0100	[thread overview]
Message-ID: <5117FEC5.8080109@web.de> (raw)
In-Reply-To: <7vvca2zhkb.fsf@alter.siamese.dyndns.org>

Am 08.02.2013 21:17, schrieb Junio C Hamano:
> Ramkumar Ramachandra <artagnon@gmail.com> writes:
> 
>> BTW, Is there a better way to clean out the worktree than `git rm -rf
>> .`, since that fails for submodules?  The impulsive `reset --hard`
>> obviously fails because there is no HEAD.
> 
> I _think_ the "git rm" is one of the things on Jens's roadmap.

Hmm, "git rm" does remove submodules since 1.8.1 (but they have to be
cloned with Git 1.7.8 or newer). Or is there something special about
the orphan checkout I'm missing here?

  reply	other threads:[~2013-02-10 20:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-08 19:50 `git checkout --orpan` leaves a dirty worktree Ramkumar Ramachandra
2013-02-08 20:04 ` Jonathan Nieder
2013-02-08 20:11   ` Ramkumar Ramachandra
2013-02-08 20:17     ` Junio C Hamano
2013-02-10 20:10       ` Jens Lehmann [this message]
2013-02-08 20:12   ` Junio C Hamano
2013-02-08 20:31 ` Martin von Zweigbergk
2013-02-08 20:38   ` Ramkumar Ramachandra

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=5117FEC5.8080109@web.de \
    --to=jens.lehmann@web.de \
    --cc=artagnon@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=jrnieder@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 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).