Troubleshooting
Commitline says what went wrong, and what to do, where it happens.
This page gathers the messages you're most likely to meet.
Git and folders
| Commitline says | What to do |
|---|---|
| Git isn't installed | Install Git 2.39 or later; Get Git opens its download page. Then choose Check again. |
| Git 2.34.1 is too old | Update Git to 2.39 or later, then choose Check again. |
| folder isn't inside a git repository with a working tree. | Run git init in the folder, or open another one. |
| Can't read this folder | Your account can't open the folder: change its permissions, or open it as a user who can. |
| Changes made outside the Git view aren't followed | Commitline couldn't watch the folder, and says why. Choose Check again; until then, changes show when you come back to the window. |
| Git listed only part of this folder's changes. | The folder has more than 10,000 changes; commit or ignore some of them. |
A Git LFS file may show as changed when it isn't, and Commitline says so.
Fetch, pull and push
| Commitline says | What to do |
|---|---|
| The remote asked for a name or password | Set up a credential helper, such as Git Credential Manager, then try again. |
| Git doesn't know the remote's host key | Check the key on the server, then connect once from a terminal, such as with ssh -T and the server's address, so Git knows it. Commitline never trusts a host key for you. |
| The remote refused your SSH key | Add your public key to the server, or load the right key into ssh-agent. |
| The upstream has commits the branch doesn't | Pull first, then push. If you meant to replace them, see Force push. |
| A pull can't fast-forward | Your branch and its upstream have both moved: merge or rebase. See Fetch, pull and push. |
| Pulling, or switching, would overwrite your changes | Commit or stash the files it names, then try again. |
| This branch has no upstream | Push it once to publish it. |
Commits and undo
| Commitline says | What to do |
|---|---|
| git commit failed, and the repository has hooks that can refuse a commit | A hook refused the commit; its output comes with the message. Fix what it names, and commit again. |
| Something the write changed has moved since | Undo would lose a change you made after that action, so it does nothing. |
| Finish or abort the merge, rebase, cherry-pick or revert in progress before undoing a write. | Finish it or abort it, then undo. |
| The write was made in another worktree of this repository | Undo it from that worktree. |
Signing in
| Commitline says | What to do |
|---|---|
| The code expired before it was entered. | Sign in to GitHub again, for a new code. |
| GitHub no longer accepts this computer's sign-in. | Sign in again. |
| Azure DevOps didn't accept the sign-in. | Check that the account belongs to the organization, or that the token was copied whole and hasn't expired. |
| A token can't do something, and names a scope | Make a new token with that scope; see Accounts and hosts. |
| This computer couldn't keep the sign-in. | On Linux, Commitline needs the Secret Service or KWallet to keep a sign-in; start your desktop's keyring, then sign in again. |
| GitHub's rate limit for this account is used up | Wait until the time it names. |
The window
- Commitline's window stopped unexpectedly., or isn't responding: choose Reload.
Your layout comes back from its last save. - 1 module didn't start, in the status bar: the views of that module say why, with Copy details and Open log folder.
- A newer Commitline is running: that one already uses your data folder; use it instead.
Get the details
- Help › Copy details copies Commitline's version, your system and each module's state, for a report.
- Help › Open log folder opens Commitline's logs: this run's and the last one's.
Both leave out your user name, emails and tokens, and show your home folder as ~.