Customization
Preferences
11 min read
Preferences bring Versora's settings together in a single window, with the list of sections on the left and the content of the chosen section on the right. At the bottom of the list is the reminder "Changes take effect immediately.": there's no general save button. Each change is saved as soon as you make it, and the open screens start using it right away.
Some sections have two parts: one that applies to you in every repository and another that applies only to the active tab's repository (for example, "In this repository …" or "Per-repository identity"). The per-repository part only appears with a repository open in a tab.
- Tab bar: the gear button (tooltip "Preferences (Ctrl+,)").
- Shortcut: Ctrl+, (it can be changed in Keyboard shortcuts).
- Palette (Ctrl+P): "Preferences". There are also entries that open straight into a section: "Preferences: language", "Preferences: profile (Git identity)", "Preferences: commit and signing", "Preferences: external editor and terminal" and "About Versora". Many areas add their own, such as "Keyboard shortcuts: change keys…" and "Manage custom commands".
- The app's notices and screens: several notices have a button that takes you straight to the right section (for example, "Open preferences" when the external editor doesn't open).
- Press Ctrl+, or click the gear.
- Choose the section in the list on the left (with the keyboard: Tab to the list and the arrows).
- Make the change. It takes effect right away.
- Close with Esc (button tooltip: "Close preferences (Esc)"), with the × or by clicking outside the window.
Tip
If a confirmation dialog or a menu is open on top of Preferences, the first Esc closes only that. The second one closes Preferences.
Opening the command palette closes Preferences.
The list starts with General, Profile, Commit and External tools. Then come the sections each feature adds, and it ends with Windows integration and About and diagnostics. The "Id" column is the page's identifier, which IT uses to hide or lock pages through the company policy.
| Section | What you adjust there | Id | Where it's explained |
|---|---|---|---|
| General | Language, theme, commits loaded in the graph, pull mode, auto-fetch and reopening tabs. | general | Below, on this page |
| Profile | The git identity (name and email), global and per repository. | profile | Identity |
| Commit | Recommended summary length, push after commit and commit signing (global and per repository). The chosen key must exist on the machine; to create one, the note points to the SSH and GPG keys page. | commit | Commit signing |
| External tools | The external editor and terminal. | tools | Editor and external tools |
| Accounts | More than one account on the same server and which account each repository uses. | accounts | Accounts |
| CI validation | Checking .gitlab-ci.yml before commit and push. | cilint | Validate the CI |
| Custom commands | Your commands and the reference for the team's commands. | custom-commands | Custom commands |
| Command line and links | The versora command on the PATH, the versora:// links and Versora as git mergetool and git difftool. | deeplink | Command line |
| Encodings | The default encoding for legacy files (Windows-1252, Latin-1, UTF-16…). | encoding | Encodings |
| Operations | Hard wrap of the commit body, autostash, force push confirmation, conflict preview in cherry-pick and revert, external diff and merge tools, line ending warning, pasting a patch and git version warning. | ergoOps | Mergetool and difftool and Branches and remotes |
| Navigation and appearance | Zoom, full screen, fonts, vertical tabs, diff context lines, line wrapping and Markdown preview. | ergo-view | Navigation and appearance |
| Workflow | The repository's workflow (trunk-based, GitLab flow, release branches or Gitflow) and the automatic suggestion. | flows | Workflow |
| Graph | Branch highlight, ghost branch, dragging commits, overview bar, MR on the commit and author photos. | graph-view | Commit graph |
| Checks | Secrets, sensitive and large files, commit and push on a protected branch and conflict prediction. | checks | Checks |
| Branch hygiene | The "stale" threshold, the fork point and automatic archiving. | hygiene | Branches review |
| Identities | Different names and emails per folder or per server (includeIf rules). | identities | Identity |
| Links in messages | Your own rules that turn text in commit messages into links. | inspectPlus.links | Links in messages |
| Issues | The Jira connection and, per repository, the issue source, the branch template and the reference in the commit. | issues | Issues |
| Keyboard shortcuts | The key map for the whole app. | keymap | Keyboard shortcuts |
| SSH and GPG keys | Listing, generating, testing and sending keys to the server. | keys | SSH keys, GPG keys |
| Network | Proxy, certificates and the status of servers and tokens. | network | Proxy |
| Notifications | The tab bar bell, the polling interval and Windows notifications. | notifications | Notifications |
| Policy and team | What the company and the team's .versora.yml define, and where each rule came from. | policy | Company policy |
| Push rules | GitLab's push rules checked before commit and push, and the local rules. | pushrules | Checks |
| Versions and commits | Conventional Commits, commitlint, the tag prefix and the changelog. | release | New version |
| Stacks | The "Stack: !10 → !11 → !12" navigation in the description of stacked MRs. | stack | Stacks |
| Terminal | The integrated terminal's shell, font and line history. | terminal | Integrated terminal |
| Local history | The automatic copies of changed files: retention, limits and per repository. | timeline | Local history |
| Updates | The installed version, how Versora was installed (just for you or for all users), the automatic check and "Check now". | updates | Automatic update |
| Commit message | Message templates, spell checker and the "don't commit" list. | worksafe | Commits |
| Worktrees | Grouped tabs, WIP rows in the graph, a terminal that switches along and the preparation of new worktrees. | worktrees | Prepare the worktree |
| Windows integration | The "Open with Versora" item in the folder menu, the Versora submenu on files and the status icons (which only exist in the installation for all users). | windows | File Explorer |
| About and diagnostics | Versora's version, the system git and the support diagnostics. | about | Diagnostics |
For IT
The Policy and team page can never be hidden or locked: it's where the person sees what the company has defined. The list of ids in effect in the installed version appears in Preferences › Policy and team › "For the administrator".
The General section has five groups: Language, Appearance, Graph, Remotes and Tabs.
- Interface language: "System language", Portuguese (Brazil), English or Spanish. It takes effect right away, with no restart. Git terms (commit, push, merge, branch…) stay in English in every language.
- Theme (Appearance group): "Use Windows setting", "Dark", "Light" or "High contrast". The default is "Use Windows setting", which follows the system's light or dark mode.
The step by step is in Language and theme. The high contrast theme is explained in Accessibility.
How many commits, starting from the most recent, show up in each repository's history. Higher values show more of the past, but make opening and refreshing slower.
| Option | What it does | Default |
|---|---|---|
| Commits loaded in the graph | Number of commits read for the graph, from 100 to 100,000. | 3000 |
- The active tab reloads right away with the new limit. The other tabs reload when you activate them.
- A value out of range shows "Enter a whole number between 100 and 100000." and isn't saved.
- At the end of the graph, "load more" fetches commits beyond the limit without changing the preference.
Tip
If the palette says a tag is "beyond the loaded history", increase this number or use "load more" at the end of the graph.
Defines what the toolbar's Pull button does. The other modes are still available from the arrow next to the button and from the palette.
| Option | What Versora runs | When to use it |
|---|---|---|
| Pull (fast-forward if possible) | git pull --no-rebase --ff --no-edit | Default. Moves the branch forward when it can; if both sides changed, creates a merge commit without opening an editor. |
| Pull (fast-forward only) | git pull --ff-only | When you never want an automatic merge: if it can't move forward, the pull fails and nothing changes. |
| Pull (rebase) | git pull --rebase | When the team prefers a linear history: your local commits are reapplied on top of the remote. |
In the palette, each mode appears with the name above and the detail "Pulls in this mode and makes it the default": choosing a mode there also changes this preference.
Pull, Sync and autostash are explained in Pull and pull modes.
Fetches the remotes of the active tab's repository from time to time, without touching your files or your branches.
| Option | What it does | Default |
|---|---|---|
| Fetch automatically | Turns the periodic fetch on or off. | On |
| Auto-fetch interval, in minutes | Time between one fetch and the next in the same repository, from 1 to 1440. | 5 |
Rules so it doesn't get in the way:
- It only runs on the active tab, with the Versora window focused and visible.
- It doesn't run with another operation in progress, with a dialog or menu open, or in the 4 seconds following a key press or click of yours.
- It doesn't run in a repository without a remote or in the middle of a merge or rebase.
- It doesn't ask for a password and doesn't open a sign-in window. It uses the token registered in Git servers and the credentials already stored in git; if the server asks for a credential that isn't stored, the fetch fails.
- It doesn't notify you when it succeeds. The graph only reloads if the fetch brought something.
With a repository open, the status line below the option shows one of these sentences:
- "Last auto-fetch in ‹repository›: ‹time›."
- "Last attempt in ‹repository›: ‹time› — failed."
- "No auto-fetch in ‹repository› yet this session."
git fetch --all --prune --tags
The fetch brings the new commits from all remotes, removes the refs of branches that disappeared from the server and updates the tags. During the fetch, the tab is marked as busy ("Auto-fetch…"), so that a pull or push of yours doesn't compete for the same refs.
- "Auto-fetch for "‹repository›" failed:" followed by git's error: appears only once per repository while the failure continues ("This warning won't repeat while the failure continues. Auto-fetch can be turned off in Preferences › General."). A lack of network never produces a warning.
- If the error is about a certificate or the proxy, a second notice explains the cause and, when there is one, offers the ready-made fix. See Certificates.
| Option | What it does | Default |
|---|---|---|
| Reopen tabs from the last session | On startup, reopens the repositories that were open in tabs when the app was closed. When off, the app always starts on Home. | On |
The tabs themselves (order, closing, reopening the last closed one) are in Tabs.
Preferences settings don't go into Ctrl+Z, which undoes git operations. To go back, change the value again. Some forms (such as the identity one) have the "Undo changes" button, which discards what you typed and haven't saved yet.
preferences_hiddenandpreferences_lockedwith the idgeneralhide the section or make it read-only.- Instead of locking, IT can just define initial values: on the first launch, Versora copies the preferences from a settings file prepared by the company.
Details in Policy keys.
Takes your Versora environment to another computer, or keeps a backup of it: Home projects, groups and colors, servers, accounts and all the preferences. The theme, the language, the zoom and the fonts, the aliases and favorites, the shortcut map and your custom commands are included too.
- Home: the Export settings (tooltip "Saves projects, groups, servers (without tokens) and preferences to a file") and Import (tooltip "Loads an exported settings file") buttons.
- Palette: "Export settings…" and "Import settings…".
- Click Export settings on Home.
- The window shows the summary: "This exports N projects with the paths on this computer, N groups with colors, N servers and the interface preferences."
- If any server has a token, the "Include the credentials (tokens) of N servers" box appears, checked. To take the tokens along, set the "Password to protect the credentials" and repeat it in "Repeat the password". To leave them out, uncheck the box.
- Click Choose file… and choose where to save. The suggested name is
versora-config-AAAA-MM-DD.json. - The notice confirms: "Settings exported: …", with "Credentials included, encrypted with your password." or "Credentials not included.".
- Click Import on Home and choose the
.jsonfile. - The projects and groups in the file are added to the ones you already have. The file's preferences replace the current ones and take effect right away (language, theme, zoom, fonts, shortcuts, commands).
- If the file has credentials, the "Import credentials" window asks for the "File password". With the right password, the tokens go to the Windows vault. Canceling imports only the rest.
- The final notice says what came in: "Imported: …". If any server ended up without a token, the notice lists which ones and asks you to enter it in "Git servers".
- The open tabs and the recent list.
- The tokens, unless you check the box and set the password.
- The trust in custom commands. Each imported command shows the exact command and asks for confirmation on first use. That way, a settings file never brings pre-approved commands.
- "Use a password of at least 8 characters to protect the credentials.": the password is too short.
- "The passwords don't match.": the two password fields are different.
- "The file isn't valid JSON.", "This file isn't a Versora settings export." and "Unsupported file version: …": the chosen file won't work.
- "Wrong password (or the file was modified).": the password doesn't open the credentials, or the file was modified after it was exported.
Caution
The file stores the projects' paths on this machine. On a computer with different folders, the projects appear on Home, but only open once the repository exists at the same path. The tokens go encrypted (AES-256-GCM) with the password you set. Keep the file and the password separately.
For IT
The same format works as initial values for the company: a file exported without credentials and
saved as default\settings.json is copied on Versora's first launch. See
Deployment.
When the company policy touches a page, its top shows a box with:
- "This page is set by your company and is read-only.", if the page was locked. The controls are disabled.
- Lines about what the company or the team defined for that page, such as "The proxy is set by your company: …" (Network) or "In this repository, the commit title has at most 72 characters (set by your company)." (Commit).
- The "See the policy in effect" button, which opens Policy and team.
A page hidden by the policy simply doesn't appear in the list. To know what's in effect and where
it came from (computer GPO, user GPO, company file or .versora.yml), open Preferences › Policy
and team.