Closed bdorney closed 7 years ago
While one should not use git add . I think the .gitignore needs to be updated. For example it is not setup to ignore temporary files, e.g.:
git add .
.gitignore
Untracked files: (use "git add <file>..." to include in what will be committed) include/xhal/rpc/optohybrid.h src/common/rpc_manager/.vfat3.cc.swp
Temporary files should not be known to git.
git
Additionally, I think it would be good to adopt a common .gitignore structure in all our repo's. Looking at:
cmsgemos
gem-plotting-tools
vfatqc-python-scripts
They seem to have the following structure:
# Ignore everything * # Don't ignore git settings !*.gitignore !*.gitattributes # Don't ignore special files !*.md !*.rst # Don't ignore subdirectories !*/ # Don't ignore special files to this repo that don't fit in the above <Files/reg expressions>
Temporary files are known to git.
Brief summary of issue
While one should not use
git add .
I think the.gitignore
needs to be updated. For example it is not setup to ignore temporary files, e.g.:Types of issue
Expected Behavior
Temporary files should not be known to
git
.Additionally, I think it would be good to adopt a common
.gitignore
structure in all our repo's. Looking at:cmsgemos
.gitignore,gem-plotting-tools
.gitignorevfatqc-python-scripts
.gitignoreThey seem to have the following structure:
Current Behavior
Temporary files are known to git.