GitKraken Desktop Documentation

Add, Delete, and Filter Files in GitKraken Desktop

Last updated: February 2026

Learn how to add, create folders, delete, and filter files using GitKraken Desktop.


Quick Start

Use GitKraken Desktop to create, delete, and filter files within your repository without leaving the application.

To create a file:

  1. Press Ctrl/Cmd + P to open the Command Palette.
  2. Type Create File and press Enter.
  3. Enter a filename and press Enter. To create a folder at the same time, include a / in the name (e.g., src/utils.js).

To create a file using the context menu:

  1. Right-click the empty space in the Commit Panel.
  2. Select Create File.

To delete a file:

  1. Right-click the file in the Commit Panel.
  2. Select Delete file.

To delete any file in the repository (not just staged files), first enable View all files in the Commit Panel. Once enabled, right-click any file and select Delete file. A Filter Files bar also appears when View all files is on, letting you type a filename or extension to locate files quickly.


Add a File Using the Command Palette

  1. Press Ctrl/Cmd + P to open the Command Palette.
  2. Type Create File and press Enter.
Using GitKraken Desktop's Command Palette to create a new file directly from the keyboard, demonstrating how the palette streamlines file creation workflows without navigating away from the commit graph.
Create a new file from the Command Palette.
  1. Type the desired filename and press Enter.
Using GitKraken Desktop's Command Palette to create and name a new file, demonstrating how developers can generate project files without leaving the keyboard or switching UI contexts.
Watch how to name and create a file.

To create a folder and a file at once, include a forward slash (/) in the file name:

Creating a new folder by including a slash in the file name, demonstrating how GitKraken Desktop auto-generates nested directory structures during file creation.
This creates a folder called “folder-name” that contains “file-name.txt.”

Add a File Using the Context Menu

You can also add files via the Commit Panel:

  1. Right-click the empty space in the Commit Panel.
  2. Select Create File from the context menu.

Delete a File from a Commit

  1. In the Commit Panel, right-click the file you want to delete.
  2. Select Delete file from the context menu.
Context menu in GitKraken Desktop showing file actions, including the option to delete a file from the Commit Panel.
Use the context menu to delete a file from the Commit Panel.

Delete Any File in the Repository

  1. Enable the View all files option.
  2. Right-click the file you want to remove.
  3. Select Delete file from the context menu.
Right-click context menu with file deletion option after enabling 'View all files' in GitKraken Desktop.
Check the ‘View all files’ option to find a file, and then delete it from the context menu.

Filter Files

When View all files is enabled, a Filter Files bar appears.

  • Type a filename or extension to quickly find and jump to specific files.
Filtering visible files in GitKraken Desktop by typing a file extension in the Tree View filter bar.
Type a file name or extension to filter the list of files in your repository.
Have feedback about this article? Did we miss something? Let us know!
On this page