Page 1 of 1

How to sync BitBucket repository with Oxygen XML

Posted: Tue Aug 07, 2018 10:01 am
by dpksaini89
Hi,

Please share the step-by-step process and procedure to sync the BitBucket repository with Oxygen XML (<oXygen/> XML Editor 20.1, build 2018061313).

Re: How to sync BitBucket repository with Oxygen XML

Posted: Wed Aug 08, 2018 10:47 am
by alex_jitianu
Hi,

You need to install Oxygen Git Plugin. To do that:
1. go to Help->Install new add-ons...
2. in the "Show add-ons from" combo select Default update site
3. Check the Git Support add-on and follow the installation procedure

After restarting Oxygen you will have a new view named Git Staging in which you can open a local repository or clone a new one. You will be able Commit, Pull or Push changes as well as other Git-oriented actions.

Best regards,
Alex

Re: How to sync BitBucket repository with Oxygen XML

Posted: Mon Aug 20, 2018 8:53 am
by dpksaini89
Done. The 'Git Staging' option is now available.

Now, How to sync this with my BitBucket Repository?

Re: How to sync BitBucket repository with Oxygen XML

Posted: Mon Aug 20, 2018 10:15 am
by alex_jitianu
Hi,

BitBucket offers the possibility to create both Git and Mercurial repositories. I should have mentioned that the Oxygen Git Plugin only works with Git based repository. In case you have Mercurial based repositories then you'll have to use an external client, like SourceTree.

Assuming that you have a Git based repository, you can use the Clone action on the toolbar to create a local repository. You'll need to paste the repository URL which can be obtain from the BitBucket Web interface by clicking the Clone button. The URL looks like this:

Code: Select all

https://AlexJitianu@bitbucket.org/AlexJitianu/myfirstrepository.git
If you already have a local repository, you can skip the cloning part above and just select the working copy in the combo box on the top area of the Git Staging view. You can use the browse button next to it to browse the file system and select the working copy location.

Now you are able to Commit and Push your changes as well as Pull the remote changes. Push/Pull are available as buttons on the toolbar. Their corresponding icons will be decorated with the number of commits that can be pushed/pulled.

Best regards,
Alex