Rebase current worktree branch onto latest main
Workflow context: This is step 1 of completing a feature. The full sequence is:
/rebase→ manual verification →/mergeRebasing ensures clean, linear history on main by replaying feature commits on top of the latest main.
Rebase the current worktree's branch onto the latest main branch.
git status to check for uncommitted changesgit branch --show-currentgit rebase maingit statusgit rebase --abort, or git rebase --skipgit status to confirm clean stategit log --oneline -3/merge when satisfied."git fetch needed since worktrees share the same .git--no-edit with rebase (it's not a valid option)