I wonder if there is an equivalent method to git’s .gitignore file for ignoring files to be sourced controlled in IBM Rational ClearCase?
I do not want to have some files, e.g. eclipse specific files, accidentially added to the source control.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Not natively supported.
For files already added, but that needs to be ignored from now on, you can add a config spec selection rule "
element /path/to/file -none"For files not yet added to source control, there is no easy solution, except making a pre-op trigger on add to source control operation (
mkelem), which would call a script in charge of parsing a custom "ignore" file, and which would accept or deny the "add to source control" operation to proceed.See also "ClearCase delete view private files only" (Apr. 2013, one year after this answer), which helps to clean up private files.