reverting to commit creates new commit