Hacker Newsnew | past | comments | ask | show | jobs | submitlogin



Does this allow you to file PRs against the repository you have checked out? Or does this only work for read-only use? What about CI? How do you convince TC or Jenkins or Bamboo to do the same thing?

If this does do all that, I think this functionality needs some SEO love because this pretty much never comes up when I search for the latest ways to grab part of a repo. All I find are conversations where people are trumpeting the wrong tools for the job.

Edit: Also, this doesn't seem to let me check out a subtree the way people mean "check out a subtree". When I check out 'just foo/bar/baz' I expect to have a directory called baz as my project root. Not a directory named foo with a single grandchild named baz.


perhaps you could rename the repo to something else/move it somewhere else, then ln -s the grandchild, if that’s important?


It breaks down if you need more than a couple of them. But I guess hat could go both ways.

A problem we saw with perforce and the clientspec: when people see a directory structure, they forget they don’t have all the bits. They make errors of judgment based on bad info.




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

Search: