Keeping a track of your changes and their history is very important for a developer. GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere.
In this post, we will push our code to the created repository in GitHub using the UiPath Studio. Check out my previous post where we saw How to Create GitHub Repository?
Push your Code to the GitHub Repo
I hope you have the project or code changes ready in the UiPath Studio to be pushed to GitHub Repo. You will have a similar project structure like this for REF projects or you might have created just a single process.
Right-click on the project -> Add To Source Control ->
Select the root folder of your project to create a local GIT repository.
With this, the Commit Changes dialog window will open with a + sign against each of the files and folder. This represents, a new file or folder is found within your project which is not committed.
If this dialog window does not open it for you, you can just right click on the project and click on
We give a Commit Message. I will give as “
Initial Commit” and click on
Commit and Push. This will open a
Manage Remotes dialog window.
Give any name for your remote repo. The URL can be found from the GitHub repo.
When you have given the name and the URL, click on Add.
This will come under Manage Remotes -> Remote Repositories. Click on
You will be prompted to enter the credentials. Here you will have to enter your GitHub login credentials.
When you have entered the creds, click on OK.
With this, all your changes are pushed to the GitHub Repository.
This was the initial commit, we saw. When you make any changes to the code. You will see an orange pen symbol appearing against the file.
To push this change, right click on the project -> Click on Commit.
Give a commit message and click on
Commit and Push.
That is it. The changes are now reflected in the GitHub Repo.
You must be logged in to post a comment.