How to discard changes using repo

This is the command I use for this kind of things, very useful

repo forall -vc "git reset --hard"

What everything mean here ?

the repo forall will execute for all repos.

the –v is verbose, so it will print the output of the command

the -c "COMMAND TO EXECUTE" is the actual command you want

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)