Closed GoogleCodeExporter closed 8 years ago
You can use `repo forall` to iterate over all projects, and the -c option to
execute the same command on all of them in turn.
To find all modified files on a git, you can use `git ls-files --modified`
So assuming you want to revert changes on all files, you can do:
$ repo forall -c 'for f in `git ls-files --modified`; do echo $f; git checkout -- $f ; done'
Original comment by david.pu...@sonymobile.com
on 22 Nov 2012 at 10:34
I c... thanks David
Original comment by guido.se...@rocket-internet.de
on 26 Nov 2012 at 9:39
Original comment by david.pu...@sonymobile.com
on 30 Nov 2012 at 12:40
Original issue reported on code.google.com by
guido.se...@rocket-internet.de
on 15 Nov 2012 at 10:01