---
title: "Stage files and hunks"
description: "Stage whole files or single hunks in gitā, see unstaged and staged changes as a tree or a flat list, and keep your commit message when you close the window."
url: https://getgita.app/features/staging
lang: en
---

# Stage a file, or a single hunk

Local Changes shows what you have changed, split into what is staged and what is not, with the diff beside it.

A live copy of the app is on the page: https://getgita.app/features/staging

## Things to try

1. Click a file to see its diff.
2. Click **Stage hunk** above a block of the diff to stage only that part.
3. Click **Stage all**, type a message and press **Commit staged**.
4. Use the buttons beside the filter to switch between a tree and a flat list.

## Staging

- **Unstaged above, staged below.** Two lists, the way git thinks about it. Select one file or several and move them across with Stage or Unstage.
- **One hunk at a time.** Click in a block of the diff and stage only that hunk, so one commit holds one idea.
- **Tree or flat list.** See changed files in their folders, or as a plain list of paths, and filter them by name. Each has a mark for modified, added, deleted, renamed or conflicted.
- **A message that waits.** If you start a commit message and close the tab, the window or the app, it is still there when you come back. There is a draft for each worktree.
- **A menu on every file.** Open it, open it with another app, reveal it in Finder, discard its changes, see its history, or copy its path.
- **Stash.** Put your changes aside with a message. Select the stash in the sidebar later to see what is in it and apply it.

[All features](https://getgita.app/features.md)

- **Download for macOS:** https://github.com/rolottr/gita/releases/latest
- **View on GitHub:** https://github.com/rolottr/gita

---

Apple, macOS and Mac are trademarks of Apple Inc. Git is a trademark of Software Freedom Conservancy. GitHub is a trademark of GitHub, Inc. Vercel is a trademark of Vercel Inc. Claude is a trademark of Anthropic, PBC. gitā is independent software and is not affiliated with any of them. Issues: https://github.com/rolottr/gita/issues
