git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Force git submodule update --remote for some branches
@ 2014-11-28 17:54 Timothy M. Redaelli
  2014-11-30 14:52 ` Jens Lehmann
  0 siblings, 1 reply; 2+ messages in thread
From: Timothy M. Redaelli @ 2014-11-28 17:54 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 409 bytes --]

Hi,
I have a repository with a submodule and I'd like to force git to
checkout the LAST version of the submodule and not the stored one (like
git submodule update --remote), but only on some branches and without
the need to remember to add --remote every time you are on this branch.

Is there any way to do it? Maybe using .gitmodules?

Thanks

-- 
Timothy M. Redaelli
Arch Linux Trusted User


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

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

end of thread, other threads:[~2014-11-30 14:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-28 17:54 Force git submodule update --remote for some branches Timothy M. Redaelli
2014-11-30 14:52 ` Jens Lehmann

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).