---
title: Edit, Restore and Fork in the CLI
link: https://ampcode.com/news/cli-tab-navigation
source: ampcode-com
published: 2025-10-21T00:00:00Z
updated: 2025-10-21T00:00:00Z
first_seen: 2026-10-04T12:50:30.804479567Z
summary: You can now edit messages in the Amp CLI, restore the thread to a specific point, or fork a new thread from a message. Hit Tab to select a previous message, then hit e to edit the message, r to restore the thread up to and including that message, or f to fork the thread from that message.
content: extracted
html: 2025-10-21-edit-restore-and-fork-in-the-cli.html
---

You can now edit messages in the Amp CLI, restore the thread to a specific point, or fork a new thread from a message.

Hit `Tab` to select a previous message, then hit `e` to edit the message, `r` to restore the thread up to and including that message, or `f` to fork the thread from that message.
