I looked into the official documentation
**/packages
is supposed to remove file/directory packages from being tracked
I tried but without any luck I still see the following:
**********NOTE: THESE FILES ARE SYMLINKS*********
Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git checkout -- ..." to discard changes in working directory)
modified: src/main/resources/webapp/dart/packages/route_hierarchical
modified: src/main/resources/webapp/dart/packages/shadow_dom
modified: src/main/resources/webapp/dart/packages/source_maps
my complete .gitignore
target/
.idea
.DS_Store
session-store
*.iml
banzai_auth_cache.ser
banzai_rm_cache.ser
**/packages
These are the steps:
- I clone the project with git clone I add gitignore and then
- commit/push
- I change the files under packages with "pub get", these files are symlinks
- I see them when I do git status
Okay, I tried add
symlinks = false
to .git/config, without luck too. I'm looking and I will update my question if I find something
I also tried adding those symlinks one by one to git ignore