cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Why I am not able to see the Branch Section in my ABAPGit Offline repository?

Urvesh
Explorer
0 Likes
1,121

I have created the Offline repository in ABAPGit. I have created the Package and also added one code in to this package. But I am not avble to see the 'Branch' Section in it. 

Does anyone has an idea about how to activate the branch in offline repo so that I can make a branch and do the further development without disturbing the actual code. 

 

Accepted Solutions (0)

Answers (1)

Answers (1)

Sandra_Rossi
Active Contributor

There's no branch concept in "offline repository", the concept is to store the files in a ZIP file, and not the .git folder containing the whole git stuff like branches and so on.

If you don't want to get a git repository in the Web (github and so on), you may define https to your own ABAP system by installing larshp/abapGitServer: Git server implemented in ABAP.

Urvesh
Explorer
0 Likes
Thank you for your answer. Just for my clarity, is Git Server on ABAP and setting the ABAPGit (Online or Offline Repo)is different process ?
Sandra_Rossi
Active Contributor
It's completely different. In abapGit, "offline repository" means a list of files containing only the ABAP objects, there's no GIT concept inside this ZIP file (so, no branch). A git repository stores the ABAP objects as "git objects" which can be of type "commit", "blob" and so on, which contain the information of branches, ABAP objects, etc.
Urvesh
Explorer
0 Likes
ah okay. Got it. But I saw while creating the online repository that it needs the http (Gitlab / Github Repo) link. So I believe we first need to create the Repo on Github or Gitlab and then we can mention in ABAP (SAP) system. Correct me if I am wrong
Sandra_Rossi
Active Contributor
0 Likes
You may access an ABAP system by http. It's what the abapGitServer is about.