You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add get_worktrees() and get_worktree_path() methods to GitOperations
- Modify traverse to cd into worktrees where branches are checked out
- Cache worktree information to avoid repeated git worktree list calls
- Add informative messages when changing directories to worktrees
- Add comprehensive tests for worktree handling including detached HEAD cases
- Add integration test for traverse with multiple worktrees
Fixes#1522
and \fBgitmachetegithubcheckout\-prs\fP (\fBgitmachetegitlabcheckout\-mrs\fP) add \fBrebase=nopush=no\fP branch qualifiers
2144
2144
when the current user is NOT the author of the PR/MR associated with that branch.
2145
2145
.sp
2146
+
\fBNoteongitworktrees:\fP if a branch is already checked out in another worktree, \fBtraverse\fP will change directory to that worktree rather than failing.
when the current user is NOT the author of the PR/MR associated with that branch.
93
93
94
+
**Note on git worktrees:** if a branch is already checked out in another worktree, ``traverse`` will change directory to that worktree rather than failing.
95
+
94
96
**Options:**
95
97
96
98
-F, --fetch Fetch the remotes of all managed branches at the beginning of traversal (no ``git pull`` involved, only ``git fetch``).
when the current user is NOT the author of the PR/MR associated with that branch.
1487
1487
1488
+
<b>Note on git worktrees:</b> if a branch is already checked out in another worktree, `traverse` will change directory to that worktree rather than failing.
0 commit comments