git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Thomas Hager" <duke@sigsegv.at>
To: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: git submodule delete?
Date: Thu, 10 May 2012 08:56:16 +0200	[thread overview]
Message-ID: <20120510085616.138349f77tk1gplc@webmail.moger.at> (raw)
In-Reply-To: <4FAB0D32.3000503@palm.com>

Quoting "Rich Pixley" <rich.pixley@palm.com>:
> How do I remove a submodule?
got to your superproject and:

- delete the submodules's section in .gitmodules and .git/config
- run "git rm --cached path_to_submodule"
- commit the superproject
- remove the submodule files.
- remove .git/modules/your_submodule

hth,
tom.

-- 
Thomas "Duke" Hager                               duke@sigsegv.at
GPG: 2048R/791C5EB1            http://www.sigsegv.at/gpg/duke.gpg
=================================================================
"Never Underestimate the Power of Stupid People in Large Groups."

  reply	other threads:[~2012-05-10  7:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-10  0:34 git submodule delete? Rich Pixley
2012-05-10  6:56 ` Thomas Hager [this message]
2012-05-10 16:53 ` Heiko Voigt

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=20120510085616.138349f77tk1gplc@webmail.moger.at \
    --to=duke@sigsegv.at \
    --cc=git@vger.kernel.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).