Hacker News new | ask | show | jobs
by ezst 12 days ago
now compare that to just `hg init` for the same effect. Git is so damn powerful!
1 comments

You actually could have the same effect as `hg init` with `git init`, but the command I mentioned leaves no working directory so uses less space on the server. Potentially hundreds of megs of disk space are worth a dozen keystrokes, no?
If you absolutely want nothing checked out, `hg update null`. Again "bare repos" are an absolutely unnecessary cognitive burden an UX papercut just like many things git.
You don't have to use bare repos, I just prefer them. You can use `git init` and ignore the working directory, just like you apparently [can] do in hg.
JFTR, it used to matter for push-ability whether it's bare or not, it appears to have changed in the recent years.