Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pavel_lishin
on Jan 19, 2012
|
parent
|
context
|
favorite
| on:
The Real Difference Between Git and Mercurial
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?
getsat
on Jan 19, 2012
|
next
[–]
It's usually .gitkeep from what I've seen. .gitignore usually lives in the repo root.
tonfa
on Jan 20, 2012
|
prev
[–]
> 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:
How do you get around this in mercurial?