Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

abapGit - revert to specific commit

tobiasz_h
Active Participant

Hello all,

I have a project in abapGit with one branch (main).
This branch has multiple commits:
10 Aug, 2022 1 commit

cc907fb5

03 Aug, 2022 1 commit

27840086

18 Jul, 2022 2 commits

42e59720

d9eaea08

15 Jul, 2022 1 commit

6ca89da0

Is there an option in abapGit to roll back to a specific commit? (e.g. revert to commit 42e59720 from 18 Jul, 2022).
If there is no such option in abapGit then the easiest way would be to clone the repository locally, revert to specific commit and push the changes to the git server, then pull changes in abapGit?

I found this issue in abapGit github page:
https://github.com/abapGit/abapGit/issues/3040
The problem seems to have been solved but I cannot find the option in the menu.

My abapGit version is: 1.116.0

Best regards,

Tobiasz

3 REPLIES 3

Sandra_Rossi
Active Contributor

I have added a screenshot in the issue 3040.

tobiasz_h
Active Participant
0 Kudos

Thank you Sandra Rossi for your help! I haven't tested this option yet but that's what I meant.

tobiasz_h
Active Participant

Below I have copied Sandra's comment from the issue 3040:

Answer valid as of 1.116.0. Select the repository, click Settings, select the Commit and then Pull: