From: Jonathan Nieder <jrnieder@gmail.com>
To: Manish Gill <mgill25@outlook.com>
Cc: git@vger.kernel.org, "Nguyễn Thái Ngọc Duy" <pclouds@gmail.com>
Subject: Re: Problem switching branches in submodule
Date: Thu, 26 Sep 2013 11:48:30 -0700 [thread overview]
Message-ID: <20130926184830.GG9464@google.com> (raw)
In-Reply-To: <BLU0-SMTP36066CF18FF63C9BD84AC48B8280@phx.gbl>
Manish Gill wrote:
> Jonathan Nieder wrote:
>> What is the exact command you use to get the above output?
>
> git checkout <branch_name>
Is <branch_name> a normal branch, a remote-tracking branch, or a
branch that doesn't exist yet?
[...]
> I should mention what *exactly* happened that led to this. I was trying
> to publish my branch on Launchpad (using git-remote-bzr). At some point,
> I had the genius idea to remote the extra stuff from the config file and
> just try with the bzr:: remote as origin, and instead of doing it via
> the console, I just replaced the config file.
>
> Annnnyway, I just restored my backed up config file for that submodule
> in the middle of writing this and seems like things seem to work now.
If you happen to have a copy of the old config file or remember what it
said, that could be helpful (especially if you can still reproduce the
problem in case we come up with a fix).
Did the config file have a [core] worktree setting or something similar?
Hmm,
Jonathan
next prev parent reply other threads:[~2013-09-26 18:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-26 17:20 Problem switching branches in submodule Manish Gill
2013-09-26 18:08 ` Jonathan Nieder
2013-09-26 18:33 ` Manish Gill
2013-09-26 18:48 ` Jonathan Nieder [this message]
2013-09-26 19:29 ` Manish Gill
2013-09-26 23:44 ` Duy Nguyen
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=20130926184830.GG9464@google.com \
--to=jrnieder@gmail.com \
--cc=git@vger.kernel.org \
--cc=mgill25@outlook.com \
--cc=pclouds@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.