This is the command git-back that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
git-back - Undo and Stage latest commits
Removes the latest commits, and add their changes to your staging area.
Number of commits to remove. Defaults to 1, thus remove the latest commit.
Removes the latest commit.
$ git back
Remove the latest 3 commits:
$ git back 3
Use git-back online using onworks.net services