I have two repos. They both include the same git subtree.
During development, I want to symlink one subtree dir to the other.
/app1
- subtree
/app2
- subtree -> /app1/subtree
When I run git status
on app2
I get see that app2/subtree
and its contents have been deleted.
I want git to ignore the deleted files for the /app2
repo.
And I want to be able to make commits to app2
(not touching anything in subtree
).
I tried adding subtree/
to .git/info/exclude
but the deleted files still show in git status
.
I tried git update-index --assume-unchanged subtree/
too and it also didn't work.