
git-worktree
List of commands for git-worktree:
-
git-worktree:tldr:13a11 git-worktree: List all the working directories attached to this repository.$ git worktree listtry on your machineexplain this command
-
git-worktree:tldr:27256 git-worktree: Create a new directory with the specified branch checked out into it.$ git worktree add ${path-to-directory} ${branch}try on your machineexplain this command
-
git-worktree:tldr:2b1f7 git-worktree: Create a new directory with a new branch checked out into it.$ git worktree add ${path-to-directory} -b ${new_branch}try on your machineexplain this command
-
git-worktree:tldr:73fa2 git-worktree: Remove a worktree (after deleting worktree directory).$ git worktree prunetry on your machineexplain this command