From: Stephen Hemminger <shemminger@vyatta.com>
To: skimo@liacs.nl
Cc: skimo@kotnet.org, Linus Torvalds <torvalds@linux-foundation.org>,
git@vger.kernel.org
Subject: Re: Submodules and rewind
Date: Tue, 19 Feb 2008 15:23:57 -0800 [thread overview]
Message-ID: <20080219152357.5ab397cf@extreme> (raw)
In-Reply-To: <20080219223201.GE4703MdfPADPa@greensroom.kotnet.org>
On Tue, 19 Feb 2008 23:32:01 +0100
Sven Verdoolaege <skimo@kotnet.org> wrote:
> On Tue, Feb 19, 2008 at 02:06:04PM -0800, Stephen Hemminger wrote:
> > Because of a bone headed merge, I had to rewind one project back
> > to a known good state, but the sub module stuff is now wedged and
> > brain stuck on the old commit id.
> >
> > Isn't there some simple way to do 'git sub-module remove' followed
> > by 'git sub-module add' to reset the internal index?
>
> Why doesn't "git submodule update" work for you?
>
It didn't fix it, but recloning did.
next prev parent reply other threads:[~2008-02-19 23:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-19 22:06 Submodules and rewind Stephen Hemminger
2008-02-19 22:32 ` Sven Verdoolaege
2008-02-19 23:23 ` Stephen Hemminger [this message]
2008-02-19 23:35 ` Johannes Schindelin
2008-02-20 0:15 ` Stephen Hemminger
2008-02-20 0:47 ` Linus Torvalds
2008-02-20 0:52 ` Stephen Hemminger
2008-02-20 1:06 ` Johannes Schindelin
2008-02-20 1:13 ` Stephen Hemminger
2008-02-20 1:22 ` Johannes Schindelin
2008-02-20 2:25 ` Stephen Hemminger
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=20080219152357.5ab397cf@extreme \
--to=shemminger@vyatta.com \
--cc=git@vger.kernel.org \
--cc=skimo@kotnet.org \
--cc=skimo@liacs.nl \
--cc=torvalds@linux-foundation.org \
/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).