Hacker News new | comments | show | ask | jobs | submit login
Always Start with an Empty Commit (bit-booster.com)
4 points by gsylvie 11 months ago | hide | past | web | favorite | 2 comments



> I’ve never actually seen an orphan branch in the wild.

I use them for Github's `gh-pages` branches. However, the [official documentation](https://help.github.com/articles/creating-project-pages-usin...) suggests to branch of master and delete everything.

I also work in [a repo with three roots](https://github.com/libfirm/libfirm). It was different repos, which got merged later.


Interesting gh-pages approach!

Yes, that make sense. An orphan branch is a nice way to bring in the disparate history of a separate repo that you've decided to merge into your main repo.




Applications are open for YC Summer 2018

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

Search: