From: Jacob Helwig <jacob.helwig@gmail.com>
To: Tim Visher <tim.visher@gmail.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: `git submodule sync`'s purpose?
Date: Mon, 19 Apr 2010 19:35:54 -0700 [thread overview]
Message-ID: <g2g8c9a061004191935s86a9d7a7i8dd1a361d5a0da3@mail.gmail.com> (raw)
In-Reply-To: <t2sc115fd3c1004191856za23ef32m421697b98159bcfe@mail.gmail.com>
On Mon, Apr 19, 2010 at 18:56, Tim Visher <tim.visher@gmail.com> wrote:
> Hi everyone,
>
> trying to understand if I'm just failing to parse the docs for `git
> submodule sync`. I'm basically under the impression that I can edit
> the .gitmodules file by hand and then use that command to sync up my
> submodules witin .git/config to that value. Am I totally missing
> something?
>
> An example session can be found on [pastebin][].
>
> [pastebin]: http://pastebin.com/chEdc2u5
>
> Thanks in advance!
>
I think the point is more that you can edit .git/config to point a
submodule at a different location (say you have a copy of the
submodule repo somewhere with some changes you want to try out), and
then can use "git submodule sync" to get the entry in .git/config
"back in sync" with the canonical location for the submodule.
-Jacob
prev parent reply other threads:[~2010-04-20 2:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-20 1:56 `git submodule sync`'s purpose? Tim Visher
2010-04-20 2:35 ` Jacob Helwig [this message]
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=g2g8c9a061004191935s86a9d7a7i8dd1a361d5a0da3@mail.gmail.com \
--to=jacob.helwig@gmail.com \
--cc=git@vger.kernel.org \
--cc=tim.visher@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 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).