Urgent.News

What's breaking now, across thousands of outlets.

Tech

Is This Really Required? Meet gh stack

๐Ÿฆ„ I'm writing this post much earlier than I usually would for all of my work friends. I've been using gh stack since the preview was made available in the GitHub UI a few weeks ago. It's a game changer when it comes to working across multiple branches โ€” or it will be just as soon as they get the rest of the kinks worked out. Hopefully this helps explain exactly what the extension does and whenโ€ฆ

This report discusses a new GitHub extension called gh stack, which the author has been using since its preview was made available in the GitHub UI. The extension aims to improve the process of working across multiple branches, making it easier to handle large pull requests and reducing the difficulty of reading large diffs.

The author explains that large pull requests are hard to review and can create bottlenecks, especially when AI generates a high volume of code in a short time. Gh stack addresses this issue by allowing users to stack branches, so the diffs stay contained and still get released in a single merge. The concept is not new, but the author finds it easy to work with, making it suitable for repositories that the lead reads as well as those that are not often accessed.

The extension works by treating each pull request as a pancake, with the main or trunk branch as the plate. Each pancake in the stack targets the layer below it, and GitHub handles the syrup between every layer. To build a stack, the user needs the GitHub extension installed and authenticated, push access to the origin, and a clean tree on the trunk branch. The extension then allows users to add layers, commit changes, and submit pull requests.

The author also explains how to navigate the stack, change layers, and merge changes from different layers. The merge process involves merging everything from the current layer down to the trunk, using the merge option selected. The author also mentions an agent skill installed from GitHub's quickstart page that automates the entire workflow, allowing users to describe the layers and read the responses, rather than running stack commands manually.

Written by urgent.news from Dev.to's reporting โ€” not their text. Machine-written โ€” may contain errors; check the original before relying on it.

Read the original at dev.to โ†’

More in Tech

I built a small C++ game engine so an AI IDE could touch the whole thing

Originally posted on Medium . I wanted to make a game. I also wanted the AI IDE on my desk to edit the whole running process, not just the scripts.

  • Author built Sapana game engine using Diligent Engine for GPU rendering.
  • Sapana supports multiple APIs including Vulkan, D3D12, Metal, D3D11, and GL.
  • Engine designed for smooth performance on Intel HD 620 integrated graphics card.

Context Plugins: Typed SDK References for Agent API Integration

Coding agents write working API calls. They struggle to write shippable API calls. The gap is not authentication or endpoint discovery.

  • Context Plugins combine API documentation with typed SDK references for specific languages.
  • Automatically detects API integrations and injects relevant plugins for language-specific examples.
  • Registry is open for community use, allowing easy addition of plugins to agent configurations.

TypeScript Access Modifiers in 2026: Why `private` Fields Beat `#` and When the Opposite Is True

TypeScript Access Modifiers in 2026: Why private Fields Beat # and When the Opposite Is True This article was written with the assistance of AI, under human supervision and review.

  • private fields are TypeScript type system modifiers, not runtime security features
  • # fields enforce runtime privacy through WeakMap storage in ECMAScript
  • Choose private for documentation, # for hostile environments or reflection-based tooling

Foldable iPhone Ultra: The Latest Rumors Before Apple's Event

We're less than a week away from the debut of Apple's first foldable iPhone, and rumors have been picking up as the event date approaches. Here's the latest.

  • iPhone Ultra foldable device to debut at Apple's September 9 event
  • iPhone Ultra features MagSafe charging, minimal crease design, and Touch ID
  • Supports two-lens camera system, A20 Pro chip, and iOS 27 enhancements

More from Thursday 3 September โ†’