- Install Git in your system. For detailed instructions, see the Git installation page.
- Add Git to system PATH.
- Set up Git in your system. For detailed instructions, see Git help.
-
In the SSH Private Key field, specify or navigate to the path of the SSH key that is linked to your Git repository.
To create an SSH key, see Git help.
After the SSH key is created and added, test your SSH connection. For more information, see Git help.
A message confirming the successful addition of the SSH key appears at the lower-right corner of the screen.
-
In the Local Path field, specify the project path.
The project path must be different for each of the following scenarios:
- Adding a project to Git: Provide the path of the project you want to add to your Git repository for version control.
- Opening a connection: Provide the path to an empty local folder in which the Git project is to be cloned locally.
-
Open the project that you want to add to Git. This is the same project for which you specified the path while creating a Git connection. For more information, see Step 8 in Create a Git connection.
-
After pushing files, if you receive the following message, it indicates a merge conflict in the files:
“The tip of your current branch is behind its remote counterpart. Try pulling before pushing.”
To merge conflicts if the changes are made in the same file:
Prerequisites:
- Choose Edit > Preferences > Version Control.
- Provide the path of the .exe file of any External Diff/Merge Application.
-
You can start committing the changes with Push/Pull. To resolve conflicts, see Step 9 in Add a RoboHelp project to Git.