developers

    Forum Stats

  • 3,873,762 Users
  • 2,266,638 Discussions
  • 7,911,626 Comments

Discussions

[JDev 12.2.1.2 & git 2.9.0.windows.1] How to get a sepecfic commit ?

Mehdi Esteghamatian
Mehdi Esteghamatian Member Posts: 405
edited May 30, 2017 6:55AM in JDeveloper and ADF

Hi,

I am using JDev 12.2.1.2 and we have a git server  where we keep track of changes.

I can see list of commits in JDev given branch.

How can I revert back changes to a specific commit change set?

Please let me know.

Many Thanks

pastedImage_0.png

Tagged:

Best Answer

  • TPD-Opitz
    TPD-Opitz Member Posts: 2,465 Silver Trophy
    edited May 3, 2017 6:53AM Answer ✓

    In the git history you can either

    - create a new branch on the desired commit and check that out (for temporary revert)

    or

    - reset the current branch (hard) to that commit (for permanent revert)

    bye

    TPD

Answers

This discussion has been closed.
developers