Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Hosting google earth engine code on bitbucket

nathanmthomas May 18, 2018

I have previously been an 'entry level' bitbucket user, managing one or two separate repositories, but now I am creating a private bitbucket repository to provide a number of users a place to store and share code. It will host a number of programming languages and I want to allow users that use google earth engine a place to store their code also.

Is it possible to clone earth engine code to bitbucket, preferably merging it with the repository I created so its all in one place?

Google Earth engine provides a URL and instructions to clone with git, but Im not sure if or how I can use this with bitbucket.

1 answer

1 vote
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 24, 2018

Hi Nathan! If you have an existing repository in Bitbucket, then you can add Google Earth Code there.

You'll need to clone Google Earth Engine's data to your computer first, and after that you'll be able to add it to Bitbucket. To do so, you can follow the instructions at Repository setup.

If you don't have a repo in Bitbucket yet, then you can create it as explained at Create a repository.

Let us know if you need anything else :)

Best regards,

Ana

nathanmthomas May 24, 2018

Hi Ana. Thanks for the reply.

I can only seem to get this to work if I have the Earth Engine code in its own repository. This way any changes I make within Earth Engine, or locally, can be pushed/pulled to each other.

What I am having difficulty doing is adding this to an existing repository. I would ideally like to put this in a separate 'Earth Engine' folder in my existing repo and push/pull from there.

I can clone the Earth Engine code to where I want it locally (within my existing repo) but I can't get Sourcetree to recognize it and push/pull to bitbucket and earth engine. 

Any help is really appreciated

Nathan

nathanmthomas May 24, 2018

For clarity, I currently have my 'Earth Engine' repo and a 'Group Code' repo. I would like to manage both just using the 'Group Code' repo, if possible.

 

Thanks, Nathan

Etore Marcari Jr.
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 5, 2018

Ana,

I was thinking about what happens with the history and log of commits, forks and branches. It could be taken from original repo, or it disappears when doing it?

Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 7, 2018

Hi Etore! That info is saved as part of the repository, so you'll keep it. Other metadata such as pull requests, comments, etc will be lost.

Hope that helps!

Ana

Etore Marcari Jr.
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 10, 2018

So it works as usual git. Great! I'll try it.

Thanks.

Etore.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events