GIT Revert Commit - Odoo

Revert Changes to Previous Commits

Probuse Admin

Ref: https://www.atlassian.com/git/tutorials/undoing-changes/git-revert

You have to start from one by one commit revert so start from latest commit and make revert and then go to next and make it revert..

Command:

git revert <commit>

Generate a new commit that undoes all of the changes introduced in <commit>, then apply it to the current branch.

Example:

git revert 2e8cfb9659744fca15823232233f280160d0264c

git revert 2e8cfb9659744fca15895124a2f2802360d2364c