change the commit in the repository