--- title: '`glab stack prev`' stage: AI Clients group: Developer Clients info: To determine the technical writer assigned to the Stage/Group associated with this page, see --- Move to the previous diff in the stack. (EXPERIMENTAL) ## Synopsis Checks out the branch of the previous diff in the stack. This feature is an experiment and is not ready for production use. It might be unstable or removed at any time. For more information, see . ```plaintext glab stack prev [flags] ``` ## Examples ```console glab stack prev ``` ## Options inherited from parent commands ```plaintext -h, --help Show help for this command. -R, --repo string Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. ```