gtl worktree find
Parent command: gtl worktree.
Resolve a PR number, PR URL, or branch name to a matching local worktree and report where it lives.
Usage
bash
gtl worktree find <pr-number|pr-url|branch> [flags]Examples
bash
gtl worktree find 123
gtl worktree find feature/my-branch --path
gtl worktree find https://github.com/org/repo/pull/123 --switchFull Help
text
Resolve a PR number, PR URL, or branch name to a matching local worktree and report where it lives.
Usage:
gtl worktree find <pr-number|pr-url|branch> [flags]
Examples:
gtl worktree find 123
gtl worktree find feature/my-branch --path
gtl worktree find https://github.com/org/repo/pull/123 --switch
Flags:
-h, --help help for find
--path Print the matched local worktree path
--switch Open a shell in the matched worktree