# Staging new files to Git after creating

**URL:** <https://forum.cursor.com/t/staging-new-files-to-git-after-creating/174451>\
**Category:** Help\
**Tags:** review\
**Created:** [October 12, 2026, 3:09pm UTC](https://forum.cursor.com/t/staging-new-files-to-git-after-creating/174451 "2026-10-12T15:09:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scott\_Macdonald](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@Scott\_Macdonald](https://forum.cursor.com/u/Scott_Macdonald)\
**Post date:** [October 12, 2026, 3:09pm UTC](https://forum.cursor.com/t/staging-new-files-to-git-after-creating/174451/1 "2026-10-12T15:09:22Z")

</div>

This is a bit strange, so I’m not sure if this is a feature request or a bug.

I use Cursor in two ways

- Through the Cursor IDE
- Through the IntelliJ IDE

Inside IntelliJ, if there were new files created, the agent window in IntelliJ gives me the option to add those files to Git. However, when I do the same thing in the Cursor IDE, I do not get that option. I only see # files changed. This had led me to sometimes miss a file to stage when I do my push to the repository, breaking the build. I’m not sure if i’m missing a setting, or this is just not something that the Cursor IDE does.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [October 12, 2026, 6:24pm UTC](https://forum.cursor.com/t/staging-new-files-to-git-after-creating/174451/5 "2026-10-12T18:24:58Z")

</div>

Hey @Scott_Macdonald, thanks for the question!

The “add to Git” prompt you see in IntelliJ comes from IntelliJ’s own version control settings, so it isn’t part of the Cursor agent. In the Cursor IDE you can stage files straight from the agent panel, it’s just a bit hidden:

1. After the agent finishes, click **Keep All** (or accept the changes) so nothing is pending.
2. Expand the **“# files changed”** bar above the chat input.
3. Hover over a file. A **+** (Stage File) button appears on the right. Click it to stage that file, new files included.

You can also open **Review** from that bar and use **Commit**. It stages the files you select, including new ones, and commits them.

To catch new files before you push, the Source Control view (Ctrl+Shift+G) lists them with a **U** (untracked) marker, and **Stage All Changes** picks them up. If new files never show up there, check that `git.untrackedChanges` isn’t set to `hidden` in your settings.

If you’d like Cursor to prompt you about new files the way IntelliJ does, feel free to post that in[Feature Requests!](https://forum.cursor.com/c/ideas/feature-requests/5)
