---
title: "Save changes with a direct commit | Grafana Labs"
description: "Commit dashboard changes directly to the main branch in GitHub."
---

> For a curated documentation index, see [llms.txt](/llms.txt). For the complete documentation index, see [llms-full.txt](/llms-full.txt).

# Save changes with a direct commit

Saving dashboard changes with a direct commit pushes modifications immediately to the main branch in GitHub. This workflow suits quick updates, trusted changes, or environments where dashboard modifications don’t require team review before deployment.

To save changes with a direct commit, complete the following steps:

In this section, you commit dashboard changes directly to the main branch.

1. With the dashboard in edit mode and changes made, click **Save**. The **Provisioned dashboard** drawer opens.
2. In the **Provisioned dashboard** drawer, optionally confirm **Repository folder**. Leave empty for the repository root.
3. In the **Provisioned dashboard** drawer, confirm **Filename**.
   
   For example, `http-monitoring.json`.
4. In the **Provisioned dashboard** drawer, confirm **Branch** is set to main. This commits changes directly to the main branch without creating a pull request.
5. In the **Provisioned dashboard** drawer, optionally enter a **Comment** describing your changes.
   
   For example, enter `Add error rate visualization to HTTP monitoring dashboard`.
6. In the **Provisioned dashboard** drawer, scroll to the bottom if needed, then click **Save**.

The dashboard changes are committed to the main branch in GitHub. Git Sync creates a commit with your message and pushes it to the repository. The dashboard is updated in both Grafana and GitHub.

In the next milestone, you’ll learn how to save changes using a pull request workflow.
