<aside> ✍🏼
**d2codex** wants to merge 3 commits into main from feature/env-import
</aside>
| Step | Action | CLI | LazyGit |
|---|---|---|---|
| 1 | Fetch remote branches | git fetch origin |
f |
| 2 | List remote branches | git branch -r |
(n/a if branch doesn’t appear) |
b → expand Remotes section; branches from forks may still require CLI fetch. |
|||
| 3 | Checkout PR branch | git fetch origin feature/builtin-pwd:pr-1 → git checkout pr-1 |
Only visible after CLI checkout; restart LazyGit → b → select local branch |
| 4 | Test / update PR branch | Test in isolation or merge main: git checkout pr-1 → git merge main |
Checkout pr-1 → highlight main → m |
Notes: