> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getnao.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Work with git

nao helps you work with git by generating commit messages and handling git operations through the AI agent.

## AI generated commits

In the commit form of nao, there's a button for **"auto-generate commit message"**. Click it to have nao AI analyze your changes and generate a clear, descriptive commit message automatically.

![AI generated commit messages](https://mintcdn.com/naolabs/UaOA-Y3q_amDsQm6/images/nao-ide/git_messages.png?fit=max\&auto=format\&n=UaOA-Y3q_amDsQm6\&q=85\&s=6491643619874c098ba0e4f1517b1ce8)

## Let nao AI handle git

The nao agent can handle all git operations for you:

* **Stage** files for commit
* **Commit** changes with appropriate messages
* **Push** commits to remote repositories
* **Pull** latest changes
* **Create PR** (Pull Request) for your changes

Simply ask nao AI in the chat to perform any git operation, and the agent will execute it for you with your approval.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.