Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.

0 votes



One answer

Permanent link
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.

0 votes

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. 

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jun 20 '14, 11:25 p.m.

Question was seen: 4,179 times

Last updated: Jun 23 '14, 11:02 p.m.

Confirmation Cancel Confirm