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

You can keep the same workflow but just have .git somewhere else. Just define GIT_DIR.



Last I checked, GIT_DIR wasn't actually respected by a lot of git subcommands. Is that no longer the case?


As far as I'm aware, it's respected by every git subcommand. I've never had a problem using it. Do you have any specific examples?




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: