Clean the sandbox including unresolved changes and ignored files?
I know that 'scm undo change' can undo changes to files, but what about ignored files? If i do some change to a ignored file, is it possible to undo it too? We need that the sandbox can go back to it original status after a build, and i don't want to unload and load the workspace because it takes about 30 minutes to do that.
One answer
I believe you cannot undo an ignored change. However you can reload the workspace using 'scm load -f ...'. The -f/--force option loads only new/changed items and not all the items.
Comments
We would like to have something like the following, i just wonder if this can be done in RTC.
git-clean - Remove untracked files from the working tree
OPTIONS
-x
Don't use the standard ignore rules read from .gitignore (per directory) and $GIT_DIR/info/exclude, but do still use the ignore rules given with -e options.
The cli does not have a way to do this today. Please raise an enhancement request.