Contact Us 1-800-596-4880

Git Staging View Reference

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 Design Center.

Unstaged Changes section

A  box with numbered buttons for adding, deleting, and changing the view of unstaged changes
1 A plus sign icon Add selected files to the index
Adds the selected file to your index to commit.
2 Two plus signs stacked on top of each other Add all files including not selected ones to the index
Adds all the modified files in your unstaged changes section to the index to commit.
3 A list with a downward arrow to the right Presentation
Changes the view for the unstaged and staged sections. Other views are:
  • List view.

  • Tree view.

  • Compact Tree.

4 An arrow points down to a menu with three horizontal bars Sort by state
Sorts the files in the unstaged section based on their state.
A menu with options to open a working tree version, compare with index, add to index, replace with HEAD revision, assume unchanged, and untrack
1 An arrow pointing to a document Open Working Tree Version
Opens the selected file with your local changes.
2 Two icons, one with a plus sign and an arrow, the other a window with a bar at the top Compare with Index
Compares your changes to the index version of the selected file.
3 A plus sign icon Add to Index
Adds the selected file to your index to commit.
4 Replace with HEAD Revision
Discards uncommitted changes to your file.
5 An arrow pointing to the right of a bar Assume Unchanged
Excludes the selected file from VCS management.
Use this option when you want to ignore a file that you want to change locally but not push to Design Center.
6 A pair of glasses with a red button on the bottom right corner Untrack

Staged Changes section

The white box labeled
1 A rectangular button Remove selected files from the index
Removes the selected file from the index.
2 Two rectangular buttons are stacked on top of each other Remove all files including not selected ones from the index
Removes all files in the staged section from the index.
A menu with four options: Open Working Tree Version, Compare with Working Tree, Remove from Index, and Replace with HEAD Revision
1 An arrow pointing to a document icon Open working Tree Version
Opens the version of your file with your local changes.
2 Two icons, one with a plus sign and an arrow, the other a window with a bar at the top Compare with Working Tree
Compares your staged changes to the changes in your local copy.
3 A rectangular button Remove from Index
Removes the selected file from the index.
4 Replace with HEAD Revision
Discards uncommitted changes to your file.

Commit Message section

A form for committing and pushing changes, with fields for the author, committer, and commit message
1 An icon showing a document with an arrow pointing right Amend (Edit previous commit)
Lets you change the commit message of your previous commit.
2 A pen writing on a line of text Add Signed-off-by
3 A closed padlock with a keyhole Sign Commit
4 Two icons, one a square with a circle in the center, the other a square with a rectangle and two plus signs inside Add Change-ID