Show HN: Gtree, a simple convention based worktree manager(github.com)2 points·by sauercrowd·6 ay önce·0 commentsgithub.comShow HN: Gtree, a simple convention based worktree managerhttps://github.com/sauercrowd/gtreeGit worktrees are great, but the syntax is much more involved, and requires me to decide where worktrees go which I dont really care.gtree is a simple shell script which provides two commands to fully your workflow:gtree add <branch>: create a new worktree for a branch in a default directory and cd to it. if branch doesnt exist, create it.gtree packup: remove the current worktree and change back to the main repo. Optionally immediately change to the worktree branch using `-c`Been using it for a few days and it works really well for me - curios what y'all think!0 commentsPost comment—
gtree is a simple shell script which provides two commands to fully your workflow:
gtree add <branch>: create a new worktree for a branch in a default directory and cd to it. if branch doesnt exist, create it.
gtree packup: remove the current worktree and change back to the main repo. Optionally immediately change to the worktree branch using `-c`
Been using it for a few days and it works really well for me - curios what y'all think!