ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I like Martins list and would like to add hidden backups and compiled python files, as I put pythons in src/ rather than bin/ most times.
*~ *.pyc
2 | No.2 Revision |
I like Martins list and would like to add hidden backups and compiled python files, as I put pythons in src/ rather than bin/ most times.
*~ *.pyc
To ignore headers generated into <package>/src/<package>/.../
you can either put this in the package's .gitignore:
src/*/cfg src/*/msg src/*/srv
or this in the parent folder's .gitignore:
*/src/*/cfg */src/*/msg */src/*/srv
Note that one level of stars denotes the parent folder, independent of that one being your repo base or metapackage folder.
This does not yet ignore <package>/src/<package>/__init__.py
, for which I suggest an specific entry in each package where needed.