All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* `git submodule sync`'s purpose?
@ 2010-04-20  1:56 Tim Visher
  2010-04-20  2:35 ` Jacob Helwig
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Visher @ 2010-04-20  1:56 UTC (permalink / raw
  To: Git Mailing List

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!

-- 

In Christ,

Timmy V.

http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: `git submodule sync`'s purpose?
  2010-04-20  1:56 `git submodule sync`'s purpose? Tim Visher
@ 2010-04-20  2:35 ` Jacob Helwig
  0 siblings, 0 replies; 2+ messages in thread
From: Jacob Helwig @ 2010-04-20  2:35 UTC (permalink / raw
  To: Tim Visher; +Cc: Git Mailing List

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-20  2:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-20  1:56 `git submodule sync`'s purpose? Tim Visher
2010-04-20  2:35 ` Jacob Helwig

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.