gitclearcasecleartool

How to find private files in git repo which is equvalent of private files in clearcase/cleartool?


I am using git for scm ofmy C project. What is the command to find all the files which are generated during build of the project like .o and .so files ? What I am asking is same as private files in in cleartool/clearcase.


Solution

  • You can start by listing ignored files, as I proposed in 2009:

    git ls-files -o -i --exclude-standard
    

    That is because those generated files are supposed to be in a .gitignore file.

    The more general list is the untracked files

    git ls-files -o --exclude-standard
    

    That would be the closed of the ct ls-private I mentioned in 2013 with "ClearCase delete view private files only".