Git
In this chapter
About Git and Ranorex Studio
Git is a distributed version control system which is free and open source.
In order to use Git as a source control provider in Ranorex Studio, the following preconditions have to be fulfilled in the given order:
- Git needs to be installed
Download Git for Windows here: https://git-scm.com/download/win
Please make sure you choose to ‘Use Git from the Windows Command Prompt’ during Git installation!
- TortoiseGit needs to be installed
Download TortoiseGit here: https://tortoisegit.org/downloadTortoiseGit is a Windows shell interface to Git and is needed, for example, to overlay icons which show the file status.
Ranorex Studio will assist you with this dialog in case the required prerequisite is not present on the machine:
Add a Ranorex Solution to Git
Please make sure your Git infrastructure is set up and working.
To add an existing Ranorex Solution to Git, open the context menu of the solution. Go to ‘Source Control’ and select ‘Add Solution to Source Control’.
To add a new Ranorex Solution to Git, check the option ‘Add to Source Control’ in the ‘New Project’ dialog.
Please follow these instructions:
Choose Git as Source Control provider.
Check out a Ranorex Solution from Git
Please make sure your Git infrastructure is set up and working.
Go to Tools > Source Control > Checkout…
After opening the Ranorex Solution from the local folder you see the icon overlays in Projects View.
All further Git related steps should be defined in your workflow.
Icon overlays in Projects View
Overlay icons are added to the items in the Projects View in Ranorex Studio, as the solution is under source control.
Icon overlays | |
Not locally modified, no changes waiting for commit. | |
Indicates a conflict. | |
Modified, changes are waiting to be committed. | |
Marked for addition, waiting to be committed. |