mailing list mirror (one of many)
 help / Atom feed
From: Stefan Beller <>
To: Mike Friedrich <>
Cc: "" <>
Subject: Re: removed submodules shown as untracked when switching branches
Date: Thu, 22 Feb 2018 15:53:23 -0800
Message-ID: <> (raw)
In-Reply-To: <>

On Thu, Feb 22, 2018 at 12:26 PM, Mike Friedrich <> wrote:

>     git submodule add ../submodule sub
>     git add sub
>     git commit -m "submodule added"
>     git checkout master

The original behavior of checkout is to ignore submodules, hence it
will be left alone.
Can you retry this recipe with --recurse-submodules given to checkout.
(Or rather run "git config submodule.recurse true" once)


  reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-22 20:26 Mike Friedrich
2018-02-22 23:53 ` Stefan Beller [this message]
2018-02-23  0:41   ` Mike Friedrich

Reply instructions:

You may reply publically 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:

  List information:

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

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link mailing list mirror (one of many)

Archives are clonable:
	git clone --mirror
	git clone --mirror http://ou63pmih66umazou.onion/git
	git clone --mirror http://czquwvybam4bgbro.onion/git
	git clone --mirror http://hjrcffqmbrq6wope.onion/git

Newsgroups are available over NNTP:

 note: .onion URLs require Tor:
       or Tor2web:

AGPL code for this site: git clone public-inbox