This is the command git-annex-undo 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
PROGRAM:
NAME
git-annex-undo - undo last change to a file or directory
SYNOPSIS
git annex [filename|directory] ...
DESCRIPTION
When passed a filename, undoes the last change that was made to that file.
When passed a directory, undoes the last change that was made to the contents of that
directory.
Running undo a second time will undo the undo, returning the working tree to the same
state it had before. To support undoing an undo of staged changes, any staged changes are
first committed by the undo command.
Note that this does not undo get/drop of a file's content; it only operates on the file
tree committed to git.
Use git-annex-undo online using onworks.net services