Git development
 help / color / mirror / Atom feed
From: Daniel Barkalow <barkalow@iabervon.org>
To: Tony Stubbs <antony.stubbs@gmail.com>
Cc: "Björn Steinbrink" <B.Steinbrink@gmx.de>,
	"Junio C Hamano" <gitster@pobox.com>,
	git@vger.kernel.org
Subject: Re: git svn rebase - could not detach HEAD
Date: Thu, 7 Aug 2008 10:24:06 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LNX.1.00.0808071013190.19665@iabervon.org> (raw)
In-Reply-To: <f7d8f60b0808070553o6f709445j9dd036f380763f6e@mail.gmail.com>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 958 bytes --]

On Fri, 8 Aug 2008, Tony Stubbs wrote:

> >> <manually deleted "untracked file" here>
> >
> > Maybe you're ignoring that file? git clean deletes ignored files only if
> > you use -x/-X.
> >
> > Björn
> >
> 
> That's probably it, I'll try it tomorrow. However, that could be a
> problem. There's ignored files I don't want to keep (build artifacts),
> and there's ignored files I do want to keep (i.e. .metadata).
> Is there a good solution?

There's only a problem if there's some reason you specifically want to not 
keep an ignored file; this is usually only an issue when you're trying to 
merge/rebase with a branch that has it tracked, at which point you have to 
decide whether to add your version and merge or remove your version. 
Ideally, git would tell you when the file that's in the way is ignored, 
which would probably help you know what's going on, but it's tricky to get 
that information there.

	-Daniel
*This .sig left intentionally blank*

      reply	other threads:[~2008-08-07 14:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-07  6:49 git svn rebase - could not detach HEAD Tony Stubbs
2008-08-07  7:19 ` Tony Stubbs
2008-08-07  7:20 ` Junio C Hamano
2008-08-07  7:33   ` Tony Stubbs
2008-08-07  7:41     ` Björn Steinbrink
2008-08-07 12:53       ` Tony Stubbs
2008-08-07 14:24         ` Daniel Barkalow [this message]

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=alpine.LNX.1.00.0808071013190.19665@iabervon.org \
    --to=barkalow@iabervon.org \
    --cc=B.Steinbrink@gmx.de \
    --cc=antony.stubbs@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.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