Push changes to a remote repository
Push changes that you make to a remote repository to back up the project to a location other than your local computer and provide version control for the project. Changes pushed to the remote repository are available to others who work on the project.
When there are changes to push, the message "Local changes are available to push" appears in the status bar and the Push to remote icon displays a blue number with the number of commits to push.
Important: When you push changes to the remote repository, the project must be synchronized or you will be prompted to pull from the remote repository and resolve conflicts. When there are changes to pull, the message "Local and remote changes available to push and pull" appears in the status bar and
Pull from remote displays a blue number with the number of commits to pull.
-
From the open project, select
Push to remote.
If you do not have a FactoryTalk Optix Studio user identity you are are not authorized to push changes to the remote repository. Push to remote displays "No identifies have been configured." Select Configure Provider identity and to configure the identity, see Set options. -
(optional) If version control is enabled for a local project and you are pushing changes from the local project the first time and a remote repository is not yet associated with the project, in Push to remote, configure a remote repository:
- Identity. Select your identity. This can be either your GitLab® or GitHub® identity.
- Owner/Group. Select the owner or group of the repository. This can be either your identity or a group to which you belong.
- Private. Select to create a private repository that only the selected owner or group can associate with a project.
- Public. Select to create a public repository that other owners and groups can associate with a project.
- URL. Displays the URL of the repository based on the selected settings.
- Select Push to remote to create a new repository or use an existing repository that is empty.
Tip: In order to use version control, FactoryTalk Optix project names and repository names must match. The project and repository names must contain only alpha numeric characters, numerals, periods, dashes, and underscores.