Skip to main content
Every edit you make to a collection, a request, or an environment in a local project writes a file. The Git panel lists those files, lets you choose which ones go into the next commit, and records the commit for you. Git applies to local projects only, so the Git tab is hidden while a team project is active.
Git requires the desktop app. Download Requestly.

Read the change list

Open the Git tab. When the working tree holds changes, the panel shows the commit box, then up to two collapsible sections.
  • Changes (N) lists the files you have edited but not staged.
  • Staged (N) lists the files that will go into the next commit.
Each header carries one bulk action. Changes has Stage all, and Staged has Unstage all. A section appears only when it holds at least one file, so a fully staged tree shows Staged alone. The API Client sidebar also shows a badge on the Git tab icon. It counts every changed file in the project, staged and unstaged together.
The Git panel with a typed commit message, a Staged section of seven files, and a Changes section of sixty-three filesThe Git panel with a typed commit message, a Staged section of seven files, and a Changes section of sixty-three files

The change tree

Files are not a flat list. Requestly groups them the way you already think about them: a collection holds requests, and a request holds the files that store it. Expand a collection to see its requests, and expand a request to see its files. Files that live outside the collections folder, such as the project’s own configuration, sit as their own rows at the top level of the tree, not inside a group.
Stage, unstage, and discard work at every level. Acting on a request folder covers every changed file inside it, so you can stage a whole request in one click.
Hover a file row to reveal its actions. Collection and request rows keep their actions visible, so a whole group is always one click away.
The Changes section grouped as a tree, with the Pets and Store collections holding requests, each request holding its files, and stage and discard icons on a hovered rowThe Changes section grouped as a tree, with the Pets and Store collections holding requests, each request holding its files, and stage and discard icons on a hovered row
Discarding a file Git has never tracked deletes it from disk, because there is no earlier version to restore.
Click a file name to open its diff in a tab. From Changes the diff compares your working copy against what is staged. From Staged it compares what is staged against the last commit.

Status letters

A letter at the right of each file row states what changed. The letters are close to git status --short, with one difference: a file Git has never tracked reads as U here rather than ??. A file that a merge left conflicted also carries a conflict badge next to its letter. See Resolve merge conflicts.

Discard a change

Discarding throws away work that is not committed, and Git cannot bring it back.
1

Click the undo arrow

Find the file, request, or collection in Changes and click its undo arrow.
2

Read the confirmation

A dialog opens, headed Discard changes to <name>?. For a single file it warns “This permanently discards your uncommitted changes to this file. It can’t be undone.” For a request or a collection it names the number of files instead, so you can see how wide the discard reaches.
The Discard changes confirmation dialog for the List pets request, warning that it discards uncommitted changes to three files, with Cancel and Discard buttonsThe Discard changes confirmation dialog for the List pets request, warning that it discards uncommitted changes to three files, with Cancel and Discard buttons
3

Confirm

Click Discard to throw the changes away, or Cancel to keep them.
Discarding a request or a collection discards every changed file inside it. Check the file count in the dialog before you confirm.

Write a commit

1

Stage what belongs in the commit

Stage individual files, or click Stage all on the Changes header. Staged files move to the Staged section.
2

Describe the change

Type a message in the Commit message box at the top of the panel. The box grows as you type.
3

Commit

Click Commit changes. Requestly records the commit on the current branch and clears the message box.
If you click Commit changes with nothing staged, Requestly warns “No staged changes to commit. Stage a file first.” and records nothing. Git refuses an empty commit, so stage at least one file first. Once the working tree is clean, the panel shows Working tree clean with the note “All changes are committed. New edits to collections, environments, and requests show up here to stage and commit.”

Next steps

Push and pull

Send your commits to the remote and bring your teammates’ work in.

Git overview

The panel states, the sidebar status bar, and the messages Requestly shows.