Software Engineering vocabulary · Version Control

Revert

Meaning in software engineering, with examples

/rɪˈvɜːrt/verbCommon term

In software engineering, revert means: To undo a change by creating a new commit that does the exact opposite, so the earlier state returns while the history stays intact.

In Turkish: geri almak, değişikliği geri çevirmek

How it is used

In Git, 'git revert' is the safe way to undo a commit that is already on a shared branch, unlike reset, which rewrites history. People say 'revert the commit' or 'revert the PR'. GitHub has a Revert button on merged pull requests.

Example sentences

  1. The new caching broke the search page, so I reverted the commit and reopened the ticket.

  2. Let's revert the PR now and investigate on Monday.

Common collocations

  • revert a commit
  • revert the PR
  • revert the change
  • git revert

More terms: Version Control

Practise with graded reading

Reading at the right level is the fastest way to make new words stick. Pick free English books by level: