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
Community Members
Community Events
Community Groups

Keeping up to date with a project imported from GitHub

I have a project which is imported from GitHub. This worked fine, but now I would like our repository to be updated with the latest changes from the original GitHub repo.

What is the best way to go about this?

It might be possible to fiddle with patches and such, but it would be ideal if there was a good way to do this without much effort, as periodic updates will be required.

1 answer

1 accepted

0 votes
Answer accepted

Hi Simon,

Welcome to the community. Could you tell us a little more about the Github repo? How are the remotes set up? If you run

git remote -v

What do you see?

Ideally the original Github repo and your current Bitbucket repo are both listed, then you can sync changes with either

git fetch --all
git pull --all

You can read a little more at

The original github repository is

There is nowhere to run git remote, unless I clone either the original or my own BitbBucket imported repository. If I do this, the listed remote is going to be one or the other. How would both be listed? If they were, I can see that fetch/pull would (effectively) merge changes from both sources.

I've successfully done what I wanted using multiple remotes (this was the step I was missing). This isn't a BitBucket issue, so I'll close this now. Thanks for your help.

Awesome, glad to hear it. Yep, git is super powerful, including having multiple remotes. Glad I could connect the missing link for you. Thanks for accepting the answer :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,260 views 2 9
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