git revert a set of commits code example
Example: git revert a set of commits
$ git checkout -f A -- . # checkout that revision over the top of local files
$ git commit -a
$ git checkout -f A -- . # checkout that revision over the top of local files
$ git commit -a