How to sync BitBucket repository with Oxygen XML

Post here questions and problems related to editing and publishing DITA content.
dpksaini89
Posts: 66
Joined: Thu Feb 08, 2018 2:44 pm

How to sync BitBucket repository with Oxygen XML

Post 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).
alex_jitianu
Posts: 1008
Joined: Wed Nov 16, 2005 11:11 am

Re: How to sync BitBucket repository with Oxygen XML

Post 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
dpksaini89
Posts: 66
Joined: Thu Feb 08, 2018 2:44 pm

Re: How to sync BitBucket repository with Oxygen XML

Post by dpksaini89 »

Done. The 'Git Staging' option is now available.

Now, How to sync this with my BitBucket Repository?
alex_jitianu
Posts: 1008
Joined: Wed Nov 16, 2005 11:11 am

Re: How to sync BitBucket repository with Oxygen XML

Post 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
Post Reply