Skip to content

How to set up separate local repository for a branch? #23235

Discussion options

You must be logged in to vote

I think git worktree is what you want: It lets you have multiple working directories (for example using different branches) using one local repository, without duplicating all the other repository data. I don’t know if Github Desktop can manage worktrees.

git-scm.com

Git - git-worktree Documentation

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants