Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This is the commit workflow for the translator with Git:

Expand
titleSTEP 1: To commit your local changes to Git you will need to press the Git commit button
Image Removed

Click the Git commit button on the Translator Toolbar. A blue dot will appear on the button to indicate there are changes to commit.

Image Added
Image Removed
Expand
titleSTEP 2: Select which changes you want to commit in the Git commit screen, make a comment and
click commit
  1. Select which files you want to commit changes for.

    • You can view each file and see a diff view of the changes that have been made, comparing the old and new versions. You can select to display these changes Side by Side or Changes Only by using the dropdown in the top right corner.

  2. Leave a commit comment about the changes.

  3. Click Commit.

Image Added
The Git console will push operations
Expand
titleSTEP 3: Then you need to push your changes to the remote repository if you want them backed up
Image Removed

The Git console terminal will come up. Wait for your changes to be pushed to the remote repo.

Expand
title

Now you can push your changes to your connected remote repository if you want them backed up.

  • If your component is not connected to an upstream repository, you will need to assign or set up your component repository.

  • Before pushing your changes to the upstream repository, you may be prompted to first pull the latest commits from the repository so you can first review and resolve any conflicts before pushing your change to the repository. See Git Workflow in the Translator for more details on the full cycle.

The blue dot indicates a push is needed:

Image Added

The Git console terminal will open to show the results of the commit and

Image Removed

confirm the changes have been pushed to the remote repository.

Image Added

After this workflow your changes should be saved in the remote repository.

...