git reset --hard
repo reset --hard
You can use the
repo command as the following to revert all your changes:
repo sync -d
This will revert all your changes back to original revision.
Or else you can use
git as stated in Version Control with Repo and Git
The command above is working only with the version at that time.
The working command is :
repo forall -vc "git reset --hard"