Dear SAPLearners, in this blog post we will learn about abapGit, a git client for ABAP and how to install abapGit in ABAP system.
What is abapGit?
To know abapGit, you should first know about Git.
Git is a distributed version-control system for tracking changes in source code during software development. It is designed for coordinating work among programmers, but it can be used to track changes in any set of files. – by Wikipedia
Now you know quite a bit about Git if not it is still OK to continue i am sure you will understand as we go along.
So, it’s time for us to know abapGit.
abapGit is a Git client written in ABAP for ABAP. abapGit is an Open-source project initiated by Lars Hvam under an MIT License.
abapGit installation is as simple as ✂️ Copy and 📋 Paste an ABAP program 👍.
1. Create a new abap report program in SE38 (or) SE80 and copy the abap code from here, paste it in the program and activate.
2. Now run the program, you should see a screen like below.
3. Hurray!! 🤩 you are done with the installation.
All the code in abapGit is organised in a repository. To start using abapGit, we need to create a repository first.
You can create a repository in offline mode (or) in online mode by cloning from GitHub. For online mode to work, SSL configuration to be done in the system which we will cover later.
For now lets create a repository in offline mode.
1. Click on +Offline in abapGit client screen.
2. Provide following information
|Name||Repository name of your choice|
|Package||SE21 ABAP Package|
|Folder Logic||Leave it to default|
3. After abapGit repository is successfully created, you will be navigated to a screen like below.
Now that the repository is created and linked to a package, every abap object we create under this package will also be added to the repository.
4. Lets create a sample abap report program and save it under a package we used to create a repository in Step2.
5. Voilà!! 🤩 the object got added to the repository.
Now you are ready to track all ABAP code changes in a git repository. you can even sync the repository to a remote repository hosted in GitHub.
Also Read: How to integrate abapGit with GitHub
It also works with GitLab, Assembla, Bitbucket, abapGitServer, SCP, AWS, TFS, Azure DevOps and more.
We will explore more of its features and usage in a development projects in future tutorials.
Please feel free to comment and let us know your feedback. Subscribe for more updates
If you liked it, please share it! Thanks!
Click here to join our channel and stay updated with the latest tutorials and updates.