---
title: "Discussion on \"Git worktree\" | Hashnode"
description: "Discussion on \"Git worktree\". Problem it solve\n\nCreate a copy of the whole repo as a separate directory\n\nWhy not just use git branch\n\ngit branch is for smaller changes\n\nworktree is for really breaking, sweeping changes that also include git ignored files/folders\n\n\nWorktree w clau..."
url: "https://hashnode.com/posts/git-worktree-tbd/69703c36eb5fd66715bc3e54"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Git worktree](https://ductrinh.dev/git-worktree-tbd?utm_source=hashnode&utm_medium=feed)

Problem it solve Create a copy of the whole repo as a separate directory Why not just use git branch git branch is for smaller changes worktree is for really breaking, sweeping changes that also include git ignored files/folders Worktree w clau...

Jan 21 · 1 min read · ductrinh.dev  
Read the article

-   [#git](https://hashnode.com/tag/git)

## Written by

[D](https://hashnode.com/@dmtri)

@dmtri

  
[View profile](https://hashnode.com/@dmtri)

D personal tech nuggets

What I cannot create, I only partially understand

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
