Commit and Push Changes to Git
This is the commit workflow for the translator with Git:
STEP 1: To commit your local changes to Git you will need to press the Git commit button
Click the Git commit button on the Translator Toolbar. A blue dot will appear on the button to indicate there are changes to commit.
![]()
STEP 2: Select which changes you want to commit in the Git commit screen, make a comment and click commit
-
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.
-
Leave a commit comment about the changes.
-
Click Commit.
![]()
STEP 3: Then you need to push your changes to the remote repository if you want them backed up
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:
![]()
The Git console terminal will open to show the results of the commit and confirm the changes have been pushed to the remote repository.
![]()
After this workflow your changes should be saved in the remote repository.