---
schema_version: "1"
id: f3488727059cd6f93a9ee1cdbbf39f3145d3a607078a119e129081367d8318c1
title: Git Staging View Reference
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/studio/git-staging-view-reference.md
canonical_url: https://docs.mulesoft.com/studio/git-staging-view-reference
source_site: docs.mulesoft.com
content_type: documentation
content_hash: a468e3fce9da20537edcf38f6678f8f4adae6cf2af54863eee2ca197d414a12d
description: MuleSoft Documentation Site
latest: true
---
---
product: Studio
---

# Git Staging View Reference

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

The Git Staging view allows you to control the version control system (VCS) process to edit RAML and
OAS 2.0 and 3.0 API specifications offline and push your changes to MuleSoft VCS.

## Unstaged Changes section

![A  box with numbered buttons for adding, deleting, and changing the view of unstaged changes](/mulesoft/current/en-us/studio/_images/unstaged-changes-section.png)

<table><tbody><tr><td><i data-value="1"></i><b>1</b></td><td><span><img src="https://docs.mulesoft.com/studio/_images/add-unstage-icons.png" alt="A plus sign icon"></span> <strong>Add selected files to the index</strong><br>Adds the selected file to your index to commit.</td></tr><tr><td><i data-value="2"></i><b>2</b></td><td><span><img src="https://docs.mulesoft.com/studio/_images/add-all-unstage-icons.png" alt="Two plus signs stacked on top of each other"></span> <strong>Add all files including not selected ones to the index</strong><br>Adds all the modified files in your unstaged changes section to the index to commit.</td></tr><tr><td><i data-value="3"></i><b>3</b></td><td><span><img src="https://docs.mulesoft.com/studio/_images/present-unstage-icons.png" alt="A list with a downward arrow to the right"></span> <strong>Presentation</strong><br>Changes the view for the unstaged and staged sections. Other views are:<div><ul><li><p>List view.</p></li><li><p>Tree view.</p></li><li><p>Compact Tree.</p></li></ul></div></td></tr><tr><td><i data-value="4"></i><b>4</b></td><td><span><img src="https://docs.mulesoft.com/studio/_images/sort-by-state-unstage-icons.png" alt="An arrow points down to a menu with three horizontal bars"></span> <strong>Sort by state</strong><br>Sorts the files in the unstaged section based on their state.</td></tr></tbody></table>

![A menu with options to open a working tree version, compare with index, add to index, replace with HEAD revision, assume unchanged, and untrack](/mulesoft/current/en-us/studio/_images/unstaged-changes-section-right-click.png)

<table><tbody><tr><td><i data-value="1"></i><b>1</b></td><td><span><img src="https://docs.mulesoft.com/studio/_images/open-working-tree-icon-unstage.png" alt="An arrow pointing to a document"></span> <strong>Open Working Tree Version</strong><br>Opens the selected file with your local changes.</td></tr><tr><td><i data-value="2"></i><b>2</b></td><td><span><img src="https://docs.mulesoft.com/studio/_images/compare-with-index-icon-unstage.png" alt="Two icons, one with a plus sign and an arrow, the other a window with a bar at the top"></span> <strong>Compare with Index</strong><br>Compares your changes to the index version of the selected file.</td></tr><tr><td><i data-value="3"></i><b>3</b></td><td><span><img src="https://docs.mulesoft.com/studio/_images/add-to-index-icon-unstage.png" alt="A plus sign icon"></span> <strong>Add to Index</strong><br>Adds the selected file to your index to commit.</td></tr><tr><td><i data-value="4"></i><b>4</b></td><td><strong>Replace with HEAD Revision</strong><br>Discards uncommitted changes to your file.</td></tr><tr><td><i data-value="5"></i><b>5</b></td><td><span><img src="https://docs.mulesoft.com/studio/_images/assume-unchanged-icon-unstage.png" alt="An arrow pointing to the right of a bar"></span> <strong>Assume Unchanged</strong><br>Excludes the selected file from VCS management.<br>Use this option when you want to ignore a file that you want to change locally but not push to MuleSoft VCS.</td></tr><tr><td><i data-value="6"></i><b>6</b></td><td><span><img src="https://docs.mulesoft.com/studio/_images/untrack-icon-unstage.png" alt="A pair of glasses with a red button on the bottom right corner"></span> <strong>Untrack</strong><br></td></tr></tbody></table>

## Staged Changes section

![The white box labeled ](/mulesoft/current/en-us/studio/_images/staged-changes-section.png)

<table><tbody><tr><td><i data-value="1"></i><b>1</b></td><td><span><img src="https://docs.mulesoft.com/studio/_images/remove-stage-icons.png" alt="A rectangular button"></span> <strong>Remove selected files from the index</strong><br>Removes the selected file from the index.</td></tr><tr><td><i data-value="2"></i><b>2</b></td><td><span><img src="https://docs.mulesoft.com/studio/_images/remove-all-stage-icons.png" alt="Two rectangular buttons are stacked on top of each other"></span> <strong>Remove all files including not selected ones from the index</strong><br>Removes all files in the staged section from the index.</td></tr></tbody></table>

![A menu with four options: Open Working Tree Version, Compare with Working Tree, Remove from Index, and Replace with HEAD Revision](/mulesoft/current/en-us/studio/_images/staged-changes-section-right-click.png)

<table><tbody><tr><td><i data-value="1"></i><b>1</b></td><td><span><img src="https://docs.mulesoft.com/studio/_images/open-working-tree-icon-stage.png" alt="An arrow pointing to a document icon"></span> <strong>Open working Tree Version</strong><br>Opens the version of your file with your local changes.</td></tr><tr><td><i data-value="2"></i><b>2</b></td><td><span><img src="https://docs.mulesoft.com/studio/_images/compare-with-index-icon-stage.png" alt="Two icons, one with a plus sign and an arrow, the other a window with a bar at the top"></span> <strong>Compare with Working Tree</strong><br>Compares your staged changes to the changes in your local copy.</td></tr><tr><td><i data-value="3"></i><b>3</b></td><td><span><img src="https://docs.mulesoft.com/studio/_images/remove-from-index-icon-stage.png" alt="A rectangular button"></span> <strong>Remove from Index</strong><br>Removes the selected file from the index.</td></tr><tr><td><i data-value="4"></i><b>4</b></td><td><strong>Replace with HEAD Revision</strong><br>Discards uncommitted changes to your file.</td></tr></tbody></table>

## Commit Message section

![A form for committing and pushing changes, with fields for the author, committer, and commit message](/mulesoft/current/en-us/studio/_images/commit-message-section.png)

<table><tbody><tr><td><i data-value="1"></i><b>1</b></td><td><span><img src="https://docs.mulesoft.com/studio/_images/amend-commit-message.png" alt="An icon showing a document with an arrow pointing right"></span> <strong>Amend (Edit previous commit)</strong><br>Lets you change the commit message of your previous commit.</td></tr><tr><td><i data-value="2"></i><b>2</b></td><td><span><img src="https://docs.mulesoft.com/studio/_images/sign-off-by-commit-message.png" alt="A pen writing on a line of text"></span> <strong>Add Signed-off-by</strong><br></td></tr><tr><td><i data-value="3"></i><b>3</b></td><td><span><img src="https://docs.mulesoft.com/studio/_images/sign-commit-commit-message.png" alt="A closed padlock with a keyhole"></span> <strong>Sign Commit</strong><br></td></tr><tr><td><i data-value="4"></i><b>4</b></td><td><span><img src="https://docs.mulesoft.com/studio/_images/add-change-id-commit-message.png" alt="Two icons, one a square with a circle in the center, the other a square with a rectangle and two plus signs inside"></span> <strong>Add Change-ID</strong><br></td></tr></tbody></table>
