reverse an last commit. return relative path