> For the complete documentation index, see [llms.txt](https://docs.aviator.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aviator.co/aviator-cli/manpages/av.1.md).

# av(1)

### NAME

av - Aviator CLI

### DESCRIPTION

**av** allows you to manage stacked pull requests with Aviator.

### SUBCOMMANDS

* av-adopt(1): Adopt branches that are not managed by `av`
* av-auth(1): Show info about the logged in user
* av-branch(1): Create or rename a branch in the stack
* av-commit(1): Record changes to the repository with commits
* av-diff(1): Show the diff between working tree and parent branch
* av-fetch(1): Fetch latest repository state from GitHub
* av-init(1): Initialize the repository for `av`
* av-next(1): Checkout the next branch in the stack
* av-orphan(1): Orphan branches that are managed by `av`
* av-pr-status(1): Get the status of the associated pull request
* av-pr(1): Create a pull request for the current branch
* av-prev(1): Checkout the previous branch in the stack
* av-reorder(1): Interactively reorder the stack
* av-reparent(1): Change the parent of the current branch
* av-restack(1): Rebase the stacked branches
* av-split-commit(1): Split a commit into multiple commits
* av-switch(1): Interactively switch to a different branch
* av-sync(1): Synchronize stacked branches with GitHub
* av-tidy(1): Tidy stacked branches
* av-tree(1): Show the tree of stacked branches

### FURTHER DOCUMENTATION

See [Aviator documentation](https://docs.aviator.co) for the help document beyond Aviator CLI.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.aviator.co/aviator-cli/manpages/av.1.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
