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.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So it works as usual git. Great! I'll try it.
Thanks.
Etore.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.