RE: removed submodules shown as untracked when switching branches

2018-02-22 Thread Mike Friedrich
, 2018 6:53 PM To: Mike Friedrich <mfriedr...@kns.com> Cc: git@vger.kernel.org Subject: Re: removed submodules shown as untracked when switching branches On Thu, Feb 22, 2018 at 12:26 PM, Mike Friedrich <mfriedr...@kns.com> wrote: > git submodule add ../submodule sub > git

Re: removed submodules shown as untracked when switching branches

2018-02-22 Thread Stefan Beller
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