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

There's a very similar feature which allows you to checkout multiple branches from a single repo, and comes out of the box with git.

Try 'git worktree'

https://git-scm.com/docs/git-worktree



One of the first comments was this, and there is a longer answer to why this is different if you’re interested.

Short answer is that worktrees dont exist in the same working directory like virtual branches do.




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

Search: