Hacker News new | past | comments | ask | show | jobs | submit login

> git init --help > OPTIONS > --tiramisu > Create a tiramisu repository. If GIT_DIR environment is not set, it is set to the current working directory.

Ok, so can you tell me what is a tiramisu repository?




Are you saying you don't know what the word "bare" means? Is that the confusion?

Googling for the definition I find "Bare: without addition; basic and simple."

And yes, I can. A tiramisu repository is a fictional repository that is not at all mentioned the very helpful help section of git init. While completely fabricated, the tiramisu repository is one of the best tasting repositories git can produce.


This is the exact point the parent post makes. You have to google what the hell is a bare git repository. It is not intuitive or clearly documented.


If the directory containing the git objects is not set, it is set to use the directory you normally find a working tree in. This is pretty straightforward once you know the basics of git, and I can’t imagine anyone would be creating a repo holding only the objects (a remote only repo you simply pull/push to/from) until they know the basics of git.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: