It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to force --remote on submodule update

Hello guys,

do you have an idea on how to force a remote option on a submodule update. Cause currently my submodule can be checkout but if someone modify it from its side and push it, from my side it gets nothing :/

in my config all seems good cause the first checkout is good but every next update didn't work 

 

Thanks in advance guys 

1 answer

1 vote
minnsey Atlassian Team Oct 02, 2017

Hi

We do not currently support that option I'm afraid.

You can double click the submodule in the parent repository, this will open a new tab for the submodule, from there you can do a pull.

Switching back to the parent repository you can then stage/commit the submodule update.

Can a feature request be created for this?  It's common for a submodule to track a branch.  In git command line it's as easy as doing a git submodule update --remote to have the submodules updated to the latest commit on the branch. 

I approve this could be a very useful feature !

minnsey Atlassian Team Oct 11, 2017

Yes, please raise a Feature Request at https://jira.atlassian/com

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,935 views 0 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you