Skip to content

Release v1.6

Choose a tag to compare

@gitwikc gitwikc released this 28 Jul 07:21
· 13 commits to master since this release
17b0f06

Added gitignore feature

Now you can add files/folders to the .gitignore file directly from Filet. Just prefix the file or folder name in the Filet structure with a * to add it to a .gitignore file in the filet rootlocation

Example 🥊

$ filet -r D://Projects/pie_py src[main.py+pie.py+*ingredients.json+*tests[make_pie.py]]

This would create the file tree as usual, but with an additional file at D://Projects/pie_py/.gitignore, which contains -

src/ingredients.json
src/tests

When you initialize a git repository in D://Projects/pie_py, you will notice src/ingredients.json and src/tests are ignored by default by git