Hacker News new | ask | show | jobs
by Joker_vD 123 days ago
Why did Git decide to have no means to track fully empty directories? Like, I understand that e.g. doing "git rm *" inside a directory should probably delete this directory from the repository as well (although "git rm -r dir_to_delete" exists so...) but why not have a command to explicitly force a directory to be tracked, whether it's empty or not?
1 comments

Why didn't anyone implement it? And an option to keep attrs, rights, owners, groups etc.