Re: `git submodule sync`'s purpose?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 19, 2010 at 18:56, Tim Visher <tim.visher@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]