Logo

    Home

    Documentation

    Use Cases

    Training

    Applications

    Release Notes

    Version Control

    Version Control

    • Description
    • How to use it
    • 1. Create new feature branch
    • 2. Make changes and export them in Build.One
    • 3. Push changes back via Source Control in Gitpod
    • 4. Create pull request in Bitbucket
    • 5. Review pull request
    • 6. Merge pull request
    • Additional way

    Description

    Build.One provides version control through git. Thanks to this, developers can implement new features in their applications through branches. In these branches, several developments can be carried out in parallel and then merged into the same version.

    How to use it

    In this example we use Bitbucket to handle the version control system, but other tools like gitlab or github can be used.

    1. Create new feature branch

    • Go your repo in BitBucket and click ‘Create Branch’ on the top right and name the branch accordingly
    image
    • Fill out form and click ‘Create’
    • image

    2. Make changes and export them in Build.One

    • Click ‘Gitpod’ (if the button is not visible, install the browser extension first)
    image
    • Once your Build.One development environment is up and running, you can make any changes that you want. Once you finish go to Deliver > Changed Objects and find there all your changes.
    image
    • To be able to commit your changes you need to export them. For this you have three options:
      • Export All Data. Export all changes (base, menu, repository objects and types, n8n workflows)
      • Export Changed Objects. Export just the repository objects
      • Export Automation-Hub. Export just n8n workflows

    3. Push changes back via Source Control in Gitpod

    • Go to Source Control on the left side to see a list of all the changes
    • image
    • Click ‘Stage All Changes’ via + button
    • Add commit message
    • ‣
      Commit message recommendations
    • To sync your changes with the repository click ‘Sync Changes’
    • image

    4. Create pull request in Bitbucket

    • Go to Bitbucket, choose the corresponding branch and click ‘Create pull request’
    • image
    • Tick checkbox ‘Delete branch’ to delete the source branch after the pull request is merged
    • image

    5. Review pull request

    • Check the commits on the branch and approve it if it is done

    6. Merge pull request

    • Once the pull request is approved, you can merged by clicking on ‘merge’

    Additional way

    You are also able to create branches directly from Bitbucket. To do so navigate to your repository and go to the section “Branches” and click on the button in the top right corner (Step 2 -6 remains the same)

    image

    Back to DocumentationDocumentation

    Back to Home Page

    Logo