You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be nice to have a possibility to revert a commit. Assuming somehow you do a commit to master and you realize you don't want that.. going to previous commit would be an option.
Is this possible and I missed it?
Thanks & regards,
Lucian
The text was updated successfully, but these errors were encountered:
hi,
are you using abapGit as client? you can always add another commit reverting the previous, but that would not look nice in the history. Another option is to rebase the branch to the previous commit, which I think should be a client feature.
However there should be a setting in the server, if it is allowed to rewrite the git history
Hi Lars, I must say that I'm an ABAPer with very limited Git know-how. I am looking to learn about it.
Using abapGit & abapGitServer as I don't have SSL config authorization.
I had only the master branch (does not make much sense to have branches in ABAP as same object cannot have multiple versions right? ) and deleted a method from a class. Then I was not able to find the revert function.
From Atlassian tutorial:
"
If we execute git revert HEAD, Git will create a new commit with the inverse of the last commit.
"
Hope that now I made my question more clear, thanks in advance for help!
Hi there,
Would be nice to have a possibility to revert a commit. Assuming somehow you do a commit to master and you realize you don't want that.. going to previous commit would be an option.
Is this possible and I missed it?
Thanks & regards,
Lucian
The text was updated successfully, but these errors were encountered: