I working with repo command.
- I initialize some folder with command
repo init -u URL - I download files with command
repo sync - Then I have changed something in files (i am applied the patch that changed the files.)
How i can restore original files, before they was changed with patch.
And can I specify files that do not need to be restored?
Best way to restore files it’s two steps command:
repo diff >> difference.patchand nextpatch -p0 -R < difference.patchAlso you can remove files that don’t need to be restored from
difference.patch