Skip to content
Download

Getting started

This page takes you from install to your first commit, and back again.
If Commitline isn't on your computer yet, start with Install.

1. Check your Git

Commitline works through the Git on your computer, version 2.39 or later.
It uses your own Git settings, your name and email, your credentials and your hooks.

If Commitline can't find Git, it says Git isn't installed; if your Git is older, it says Git 2.34.1 is too old, naming your version.
Get Git opens git-scm.com/downloads; once you've installed it, choose Check again.

2. Open a repository

When no repository is open, Commitline shows its welcome page.

The welcome page with Open repository…, and the Repository and Git views waiting for a folderThe welcome page with Open repository…, and the Repository and Git views waiting for a folder

  1. Choose Open repository…, or press Ctrl+O (⌘O on a Mac).
  2. Pick the folder of a Git repository.

Commitline opens the repository's History, and its changes show in the Git view on the right.

A repository that's only on a server?
Commitline has no Clone yet.
Open a terminal with View › New Terminal, run git clone there, then open the folder.

A folder that isn't a repository yet shows that it isn't inside a git repository with a working tree.
Run git init in it, and Commitline picks it up the next time you come back to its window.

Next time, the welcome page lists your recent repositories under Recent.
More ways to open one are on Open a repository.

3. Find your way around

PartWhereWhat it shows
RepositoryLeftChanges and History, then your Branches, Remotes, Tags, Stashes, Worktrees and Submodules, and Pull requests when the remote is on GitHub or Azure DevOps.
WorkspacesLeftThe Dashboard and your workspaces.
HistoryMiddleThe repository's commits as a graph, with a toolbar for Fetch, Pull, Push, Branch, Stash and Terminal.
GitRightChanges · on main: your changed files in Conflicts, Staged and Changes, and the box to commit them.
Status barBottom edgeYour branch with how far it is ahead (↑) or behind (↓), when you last fetched, and the last Git command Commitline ran.

The whole tour is on The window.

4. Make your first commit

  1. Change a file in the repository.
    It shows under Changes in the Git view.
  2. Choose Stage on the file, or Stage all on the group.
    It moves to Staged.
  3. Type a message in Commit message, and choose Commit.

The Git view with two files staged, a commit message typed, and Commit 2 filesThe Git view with two files staged, a commit message typed, and Commit 2 files

The commit shows at the top of History.
When your branch has an upstream, Commit and push commits and sends it to the remote in one go.

More on staging single lines and amending is on Changes and commits.

5. Take it back

Changed your mind?
Click outside the message box, then press Ctrl+Z (⌘Z on a Mac): Commitline undoes the commit, and your changes stay in your files.

Recent actions, the button at the end of the Git view's title, lists what you did, newest first, so you can undo an earlier step too.
What Ctrl+Z can and can't take back is on Undo.

Next