Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,700
Community Members
 
Community Events
176
Community Groups

How to make the parent git folder always point to latest commit whenever there is a new commit in ch

Every time I push a commit to the submodule I need to update the parent repo to the latest commit in the submodule. Is there any automatic way to do that in the remote?

Every time push a commit in the submodule repo I want the parent to automatically point to the latest commit of the child repo. Please suggest if it's possible and how?

1 answer

0 votes
Mark C Atlassian Team Sep 14, 2021

Hi @BALA KRISHNA CHERUKURI

Welcome to the community.

Right now, I'm afraid there's no feature in Bitbucket Cloud to automatically update your parent repository with a submodule.

As a workaround, you can achieve this by using Bitbucket Pipelines.
The idea is to trigger a Pipelines build in your submodule repository that will update your parent repository to the latest commit in the submodule.
This way, there's no need for you to manually update your parent repository.

You can also check out the below existing community posts that might help:

Hope it helps and let me know if you have further questions that I can help with.

Regards,
Mark C

Hi Mark,

you wrote: "The idea is to trigger a Pipelines build in your submodule repository that will update your parent repository to the latest commit in the submodule."

 

How to do this excactly?

 

br,brian

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events