In GitOps, rollback is performed by reverting the system’sDesired Statestored in Git. This is done with thegit revertcommand, which creates a new commit that undoes the changes introduced by a previous commit.
“Because Git provides an immutable history of changes, rollbacks are straightforward. Reverting to a previous configuration is accomplished by reverting the commit in Git, which then allows the reconciler to apply the earlier desired state.”
Thus, the correct answer isB: git revert.
[References:GitOps Tooling (CNCF GitOps Working Group)., ===========]
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit