Editing


Editing a file

If you just created a new file in GitKraken, then you will automatically be placed into edit mode, so you can start coding right away.

There are several ways to edit an existing file:

  • Right click the file from a previous commit or when View all files is enabled and select Edit file.
  • Use the Edit File subcommand in the Fuzzy Finder.
    Hit Ctrl/Cmd + P, type Edit File, hit Enter, type the name of the file, and hit Enter.
  • Click the from Diff/File View.

    Note: If viewing a file on a different branch, the button will say and clicking the button will take you to edit mode of the version of that file from your current branch.

The editable tag in the upper right corner, denotes that you can edit the current file.

IntelliSense suggestions are shown based on the extension of the file.

Saving edits

The blue dot in the upper right corner indicates unsaved changes.

To save your changes, hit Ctrl/Cmd + S

To exit the file without saving your changes, hover over the blue dot, click the X, and select Don't Save.

Staging edits

Clicking the button with pending changes will give you the options to Save and stage or Stage saved changes only.