Skip to content
Download

Terminal and command log

Commitline has terminals of its own, in the bottom dock, for whatever Git or anything else you'd rather type.
The command log shows every Git command your clicks ran.

Open a terminal

  • Terminal, on History's toolbar, opens one in the repository's folder.
  • View › New Terminal, or Ctrl+Shift+` (Control on a Mac too), opens one.
  • +, in the terminals' tab row, opens one, and its menu, Choose a shell, opens one with another shell.
  • Ctrl+` shows or hides the terminals.

A zsh terminal in the bottom dock, in the repository's folder, after git log --oneline -4A zsh terminal in the bottom dock, in the repository's folder, after git log --oneline -4

Shells

SystemShells Commitline finds
WindowsPowerShell 7, Windows PowerShell, Command Prompt, Git Bash, each WSL distribution, and each Visual Studio's Developer Command Prompt and Developer PowerShell
macOS and LinuxYour login shell, and the others in /etc/shells

On Windows, the first of PowerShell 7, Windows PowerShell, Command Prompt and Git Bash that's there is the default.
Settings › Terminal › Default shell picks another.

Work in a terminal

  • Copy: ⌘C on a Mac, Ctrl+Shift+C on Windows and Linux.
    On Windows, Ctrl+C copies too while text is selected.
  • Links: Ctrl+click a link (⌘-click on a Mac) to open it.
  • Rename a tab: double-click it, press F2, or choose Rename in its menu.
    An empty name puts back the automatic one.
  • Restart, in a tab's menu, starts its shell again.
  • Ctrl+Shift+W, on Windows and Linux, closes the tab and ends its shell.

The right-click menu doesn't open over a terminal yet; use the keys above.

At a bash, zsh or PowerShell prompt, Commitline helps as you type:

  • it suggests an earlier command in grey; → or End takes it;
  • Tab lists the completions;
  • with Color typed commands on, an unknown command shows in the error colour.

Each one has its switch in Settings › Terminal.

What's kept

  • Each terminal keeps up to 100 MB of output; Output kept per terminal (MB) sets 10 to 10,000.
    clear or cls clears it.
  • Next time Commitline starts, your terminals come back with the same shell, folder and name, but not their earlier output.
  • Earlier commands, for the suggestions, are kept only while Commitline runs.

The command log

Each repository has a Command log in the bottom dock: the Git commands your actions ran in it, newest first.
Open it by choosing the last command in the status bar, or with the command Open the command log (see Search and commands).

Each row shows when it ran, the command, how it ended (Done, Exit code 1 or Didn't finish) and how long it took.

The command log: git commit and git add, each with its time, Done and how long it tookThe command log: git commit and git add, each with its time, Done and how long it took

  • It keeps the last 200 commands while Commitline runs.
  • Reading your status and diffs isn't logged; only what changes something.
  • A password or token in a remote's address is left out.

The log shows what your clicks ran, not what you type in a terminal.