Skip to content

Switzy 1.4.0

Latest

Choose a tag to compare

@yefga yefga released this 26 Sep 17:31

Per-folder Git identity, plus fixes to switching, signing and SSH keys.

New

  • Folder rules: assign directories to a profile and every repository beneath them uses that identity, in Terminal, Sourcetree, IDEs, and even when Switzy is not running. Rules use Git's own includeIf, and the menu bar profile stays the fallback for repositories no rule covers.

Fixes

  • Pushes now use the profile's own SSH key. core.sshCommand passes IdentitiesOnly=yes, so a key loaded in ssh-agent for another profile can no longer be used by mistake. Key paths with spaces are quoted.
  • Folder rules match case-insensitively, so ~/work matches a rule for ~/Work.
  • A failed switch now shows an error in the popover instead of looking like success.
  • Commit signing turns on when a signing key is set.
  • Switching profiles removes the previous SSH key from the agent.
  • Two profiles with the same name and email are told apart by their SSH or signing key.

Existing configuration is updated to the new format on first launch.

Signed and notarized. SHA256: c348d0ec9257c95b6bbfcc5a808cb2f44ba806961c8475ab58f328ab0855b620