does a clone update when the main updates?

artgeek_AAP February 20, 2018

Our developers use bitbucket to store the code for production and other development/test instances.

I have created a clone of the production instance code

When a new version is pushed into production, does the clone include those updates or do I have to clone again?

2 answers

0 votes
artgeek_AAP February 22, 2018

I got impatient and poked around some more.  The answer is clear!  I have to SYNC my clone with the production versions.  It's easy, actually.  When the sync occurs, there's a step where the changes are displayed and then you can accept the update.  

jredmond
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 22, 2018

Ah, I think I see the reason you were getting a different answer than you wanted: you're asking about forks, not clones.

artgeek_AAP February 22, 2018

Ah yes!  Every software and discipline has its own words for the same thing.

A modern, high tech tower of Babel.

Anyway, problem solved and thanks for helping and reminding my about "forks" 

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 20, 2018

Do you mean getting the latest changes your developers pushed to the remote? If so, no. No need to clone again but you will have to pull from remote the get those changes locally.

artgeek_AAP February 20, 2018

Both the production and the clone are on the server/remote.

And, yes, when the developers push a change to the remote, will my clone of the production remote update as well?

In other words, is it a REAL-TIME MIRROR or a STATIC COPY?

jredmond
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 20, 2018

Both Git and Mercurial treat clones as static copies, even if they're hosted on the same system. You'll need to fetch or pull to get new commits from one to the other.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events