• GitHub CLI now fully supports triangular workflows, enabling smoother fork‑to‑PR development. • Triangular workflow lets you pull updates from other branches into your feature branch. • v2.71.2 fixes gh pr command compatibility with custom Git configurations. • Centralized and triangular workflows are now equally supported by the CLI. • Use gh pr commands to manage pull requests directly from your fork. • Documentation now includes step‑by‑step guidance for triangular workflow setup in GitHub CLI.
Article Summaries:
- GitHub has updated its command‑line interface (CLI) to better support triangular workflows, a Git pattern where developers work on a fork, push changes to their own branch, and pull updates from the original repository without constantly merging or rebasing. The new release, v2.71.2, adds configuration options that allow the
gh prcommands to operate smoothly with these workflows, bridging a gap that had existed for years. The update means developers can now manage pull requests and branch synchronization from the CLI in the same way they do on github.com, whether using a centralized or triangular workflow.
Sources: