Commite before reverting
Commit
Commit