Re:The Real Difference Between Git and Mercurial
by pavel_lishin on Thursday January 19, 2012 @04:05PM
(#3486698)
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?
Re:The Real Difference Between Git and Mercurial
by getsat on Thursday January 19, 2012 @04:38PM
(#3486883)
It's usually .gitkeep from what I've seen. .gitignore usually lives in the repo root.
I suppose git's tree objects could point to the empty tree to record an empty folder, but most of the git code is comparing file blobs not trees.