Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
GitHub is an open source version control software that allows users to collaborate and build projects in a systematic manner. This means a developer can clone code locally to their system, add to it, and push it back to the master branch for the rest of a team to access. This makes it a perfect fit for assisting in the development of SAP Intelligent Robotic Process Automation bots as it lends itself to easy collaboration, version control, and storage for future reference and use.

The purpose of the following instructions is to show how to begin to use GitHub in synchronization with SAP Intelligent Robotic Process Automation. It is also assumed that the user has previous GitHub experience.

This post will be broken down into three parts: Collaboration, Version Control, and Bot Storage.

Collaboration


GitHub is an excellent tool for collaboration when it comes to SAP Intelligent Robotic Process Automation. It allows multiple users to contribute and work on the same project. However, it should be noted that if two people try to both commit changes to a Desktop Studio file at the same time as opposed to having one person commit to the master branch, the other person cloning the updated repository locally, making their changes, and then committing what they wanted to add, merge issues will occur. The following steps show how to push your Desktop Studio code to the master branch and make it available to your entire team.

 

Step 1: Create a repository and clone it within the Desktop Studio file on your system.



 

Step 2: Take an already existing SAP Intelligent Robotic Process Automation project and copy its files into your newly created GitHub repository.


 

Step 3: Now go into the GitHub Desktop GUI and commit all your new changes.


 

Step 4: Next, push your changes to the master branch so other members of the team can clone the updated repository locally, contribute their part, commit their changes, and push it back to the master branch exactly like we just did. Also, make sure that other team members are added as collaborators on the repository or they will run into multiple issues.



 

Version Control


GitHub is also a great tool for version control. Each time changes are committed to a project it acts as an update. This means that a new version is created. Within GitHub it is very simple to revert to previous versions and vice versa. Also, when creating new commits, or versions, you can enter a summary and description of what the commit contains. This keeps things succinct and easy to locate.  The following steps will show how to do a simple reversion of a Desktop Studio project.

 

Step 1: Locate and go to your history in the GitHub Desktop GUI.


 

Step 2: Choose the commit you want to revert to and right click on it and select “Revert this commit”.


 

Bot Storage


Another great use for GitHub is to create an area for storage. This does not require any instruction but is rather just food for thought. In the case of SAP Intelligent Robotic Process Automation, teams can create bots and store them on GitHub so other team members can go back and reference them or clone them locally for use in another project. This has the potential to save a lot of time down the road.

 

The benefits of using GitHub as an aid for SAP Intelligent Robotic Process Automation development are clear. These were just a few simple examples where GitHub can provide aid as this post was supposed to serve as some instruction but more so as inspiration to use GitHub during the bot development process. Thanks for the read and please feel free to share your thoughts in the comments!