Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In git, we solve this problem by sticking a .gitignore file in any directories we want to be part of the repo, but without the contents (cache folders, user-generated data destinations, etc.)

How do you get around this in mercurial?



It's usually .gitkeep from what I've seen. .gitignore usually lives in the repo root.


> How do you get around this in mercurial?

Same (with a .empty or .keep file).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: