UiPath’s Integration With GIT Version Control – A Easy Guide

2color-lightbg@2x.png

We always want to keep a track of everything that we do and version control is something that can help us with that.

Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later.

And it can also be handy while working on a larger project and where the work has to be shared between a huge team

Let’s look at the GIT integration with UiPath…!!!

Step 1:
Create a GIT hub account at
https://github.com/

Step 2:
Now try creating a new repository by clicking on the plus icon and by selecting “New Repository” option

GIT Integration with UiPath 2.png

Step 3:
Now enter the name of the repository that you want to create and then click on “create repository

GIT Integration with UiPath 3.png

Step 4:
Now let us connect our GIT account with the UiPath Studio.

In the “Team” tab, select “Clone a GIT repository” as shown below and start entering the “Repository URL” that you have just created and provide a local path directory to clone it to with remote GIT repository.

And finally, provide your login credentials (.i.e User and password)

GIT Integration with UiPath 4.PNG

Step 4:
After cloning a GIT repository to a local working directory, the .git subdirectory is created containing the necessary GIT metadata as shown below

GIT Integration with UiPath 5.PNG

Step 5:
Now create a simple UiPath workflow (ex: Hello World) and perform a left click on the project and you should be able to see the following options

GIT Integration with UiPath 6.png

Some commonly used actions are:

  • Commit: Commits current changes to the local GIT repository.

  • Push: Pushes the current version onto the remote repository.

  • Manage Branches: Helps us in managing the added branches.

  • Show Changes:  Helps us in comparing the difference between local and remote versions.

  • Show History: Gives the version change information.

 

Step 6:
Once you’re done with the implementation OR changes, try to commit the changes by selecting commit option

Now, a window appears which displays the unversioned files which can be pushed to remote GIT repository along with a “Commit Message

Finally, you can either select the “Commit and Push” option or simply “Commit” option, and it totally depends on your requirement.

GIT Integration with UiPath 7.png

Step 7:
Finally, we can see it being uploaded to our remote GIT repository 🙂

GIT Integration with UiPath 8.png

Step 8:
Want to disconnect it?
No worries!!!

Just go to “Team” option and click on “Disconnect” under the GIT section and that’s all, it will be disconnected.

GIT Integration with UiPath 9.png

Hope it has helped you… 

Advertisements
Sharath Raju

Author: Sharath Raju

Co-Founder @www.ExcelCult.com

2 thoughts

  1. It actually depends totally on the project structure
    Because once we have our repository created…
    We can create our projects in it and then there will be no need of enabling git everytime !!

Leave a Reply