Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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


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
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

3,261 views 4 5
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