Search the field guide

Search all 29 chapters. Your search stays on this device.

↑ ↓ Move between results Enter Open · Esc Close

Browse chapters

DocsAccounts & identityFIELD NOTES / 07

Accounts & identity · 1 min read

Checks and automatic fixes

Preview documentation About this guide ⓘ

GitTrail is in preview: commands and features may change before the first release, and host integrations are still being tested against each live service.

Chapter 7 of 29
On this page

In this chapterFind the checks and fixes for identity, SSH and commit problems.

Tool What it does Where
Doctor Checks that remotes match the account’s host and, with --ssh, that login works. Prints the fix. gittrail doctor [--ssh]
Fix automatically Picks the account matching each remote and switches HTTPS remotes to SSH. Repositories banner · gittrail fix
Push check A pre-push hook that blocks pushes made with the wrong account, in any Git tool. Repo panel switch · gittrail guard --on
Account checked before every push The app refuses a push from the wrong account and explains why. Automatic
Fix wrong authors Unpushed commits made as someone else can be rewritten as the right account (with Undo). Header chip in the workspace
.mailmap Show old names and emails as the right ones in history. Wrong-author chip › Map old names
Secret scanning Likely tokens, private keys and .env files stop a commit until you decide. Changes › Commit
Check and repair Git’s integrity check (fsck) in plain words, stale locks, broken index, lost commits. More › Check and repair…
Need another approach?Find a fix →