Re: how to update a submodule?
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jan 2, 2011, 17:57 UTC
- Message-ID
- <20110102175725.GC13358@burratino>
- In-Reply-To
- <4D20B629.8000107@web.de>
Jens Lehmann wrote:
> Submodules don't work very well when you change URLs (that can result > in forcing your coworkers to do a "git submodule sync" in their repo > every time they switch to a commit with a changed URL).
For the future, it is probably most convenient to use URLs starting with "../" or "./", which would rarely need to change. That can even work with passing around a tarball of bundles and a script to reconstitute them, I think.
Thanks for some food for thought. Jonathan