Skip to main content
All CollectionsIntegrations
How to manage Git plugin?
How to manage Git plugin?
Updated over a month ago

The Git plugin allows you to manage connections with repositories (GitHub, GitLab, Bitbucket, and Azure). This article describes Git plugin abilities using GitHub as an example.

Read more:

To manage the Git plugin follow the next steps:

  1. Create a Lingohub project and select the platform (the file format you want to localize).

    Note: The following platforms don't support Git plugin setup: Contentful, Figma, Storyblok, and Zendesk. Read how to connect other platforms in the integration section of our Help Center.

  2. Go to the newly created project and click "Plugins" to see the Git integration. Click on "Manage."

  3. Inside the Git plugin settings:

    • select GitHub authentication

    • provide the repository's URL

    • add the branch name you want to use as the default.

    Click "Setup repository."

    Note: you can apply the resource filters at this step or add them later.

  4. At this stage, you can manage your synchronization:

    1. Change the main branch;

    2. Setup synchronization (manual and automatic rules;)

    3. Setup push and pull request settings.

How to exchange data between Lingohub and repository?

To import data from GitHub to Lingohub:

  1. Click on the synchronization icon at the top of the page and choose "Pull."

  2. Select branch (by default, the system will use the branch that was added as the default in plugin settings)

  3. Select file(s) and language(s)

  4. Click “Pull”.

To export data from Lingohub to GitHub:

  1. Click on the synchronization icon at the top of the page and choose "Push."

  2. Choose a push type (push directly or create a pull request), branch, and select files.

    1. Create a pull request (PR) to propose the changes to the original repository. PRs are commonly used in collaborative environments and provide a clear and transparent way to review and track changes in the code.

    2. Push directly pushing changes directly to a branch in the repository. Direct pushes carry a higher risk of introducing errors or conflicts, especially in collaborative environments. They are mainly used for minor changes.

  3. Select file(s) and language(s).

  4. Click “Push”.

Awesome! You have finished the article about Git plugin. If you have any questions, please contact our team at [email protected].

Did this answer your question?