Skip to content
Download

Accounts and hosts

Git works in Commitline without any sign-in.
Sign in to GitHub or Azure DevOps to see your pull requests, their checks and reviews, and on Azure DevOps your work items too.

Your sign-ins are in Settings › Accounts and hosts.

Settings › Accounts and hosts with no account signed in: GitHub and Azure DevOps each with Sign in, and the table of what each host can doSettings › Accounts and hosts with no account signed in: GitHub and Azure DevOps each with Sign in, and the table of what each host can do

What each host can do

GitHubAzure DevOps
A branch's pull request and checksYesYes
The repository's open pull requestsYesYes
Review requests on the DashboardYesYes
Links shown as chips with their stateYesYes
Pull requests in Commitline: files, comments, votes, completingNo, they open in your browserYes
Policies and buildsChecks onlyYes
Work items, and a branch from oneNoYes

The same table, What each host can do, is at the end of the page in Settings.

Which repositories count

  • GitHub: a remote on github.com, over HTTPS or SSH.
  • Azure DevOps: a remote on dev.azure.com, ssh.dev.azure.com or *.visualstudio.com.

Any other remote is plain Git: fetch, pull and push work as usual, with no pull requests or checks to show.
GitHub Enterprise isn't supported yet.

Sign in to GitHub

  1. In Settings › Accounts and hosts, choose Sign in on GitHub.
    Or choose Sign in in the Git view's GitHub row.
  2. Commitline copies a code and opens GitHub's code page in your browser.
  3. Paste the code on GitHub's page and approve Noldova.

The code is good for a few minutes; the dialog counts down.
Copy code copies it again, and Open the page again reopens GitHub's page.

Signed in, GitHub's card shows your account, and whether it can reach your repositories.

Sign out forgets the sign-in on this computer only.
To withdraw Commitline's access on GitHub itself, choose Manage access on GitHub.

Sign in to Azure DevOps

Commitline signs in to one organization at a time.
There are two ways:

With a personal access token

  1. In Settings › Accounts and hosts, choose Sign in on Azure DevOps.
  2. Type your Organization, as in dev.azure.com/organization.
    With an Azure DevOps repository open, it's filled in for you.
  3. Choose Make a token on Azure DevOps, and make a token in that organization with these scopes:
    • Code (Read & write): pull requests, votes and comments;
    • Work Items (Read & write): work items;
    • Graph (Read): people's pictures, and finding reviewers;
    • Build (Read): a pull request's checks.
  4. Paste it in Personal access token, and choose Sign in.

With Microsoft

  1. Type your Organization, then choose Sign in with Microsoft.
  2. Finish signing in in your browser; the page in Settings updates once you're done.

Your organization's admin may need to approve Commitline before the Microsoft sign-in works.

To switch organization, sign out, then sign in to the other one.
Sign out forgets the sign-in on this computer; to revoke a token, delete it on Azure DevOps.

Where your sign-ins are kept

Each sign-in is kept encrypted with your system's secure store: Keychain on a Mac, Windows' own protection on Windows, and the Secret Service or KWallet on Linux.
It's sent only to the host it's for.
See Privacy and network.

When a sign-in stops working

Commitline checks each sign-in when it starts.
When the host no longer accepts it, the card says so, and you sign in again.
When the host can't be reached, such as when you're offline, the sign-in stays.

One account per host for now; several accounts per host are planned.