Skip to content

Releases: lpgrd/gitm

@loopgrid/gitm v1.1.0

06 Jul 11:51
7f56aef

Choose a tag to compare

What's new in v1.1.0

Added

  • Email Masking: All email addresses are now masked by default in command outputs (e.g., u***r@e****e.com)
  • SSH Key Fingerprints: auth command displays SSH key fingerprint (SHA256) instead of the full public key
  • Windows File Permissions: Implemented ACL-based permissions for SSH config and key files on Windows using icacls

Changed

  • Profile Auto-detection: Now requires user confirmation before applying detected profiles
  • Account Selection: Removed email addresses from selection dropdowns in clone and init commands
  • SSH Key Info: Removed comment field from SSH key information display

Fixed

  • SSH key generation failing due to missing comment parameter in ssh-keygen command
  • Windows SSH config files not receiving restrictive permissions

Security

  • Enhanced privacy protection by masking email addresses throughout the application
  • Reduced risk of accidental SSH key exposure by showing only fingerprints
  • Improved Windows security with proper file permissions for SSH-related files

@loopgrid/gitm v1.0.2

02 Jul 05:35
d34827c

Choose a tag to compare

What's new in v1.0.2

Added

  • Windows compatibility support
  • SSH tools availability checking with platform-specific installation instructions
  • Windows-specific documentation in README with setup guides
  • Platform-aware error messages for SSH agent issues
  • Build-time version injection to eliminate runtime package.json dependencies
  • .npmignore file to reduce published package size

Changed

  • SSH config file permissions (chmod) now only applied on Unix-like systems
  • Hardcoded Unix paths (~/.ssh) replaced with platform-aware paths using path.join()
  • Package scripts cleaned up and consolidated
  • Updated build configuration tsup.config.ts to reduce the build size

Fixed

  • Version mismatch between gitm -V and package.json

Removed

  • Code coverage dependencies and scripts (vitest coverage, c8, jest)
  • Duplicate npm scripts (consolidated lint/format variants)

@loopgrid/gitm v1.0.1

01 Jul 09:32

Choose a tag to compare

gitm is a powerful CLI tool that seamlessly manages multiple Git accounts on a single machine, eliminating the hassle of switching between personal, work, and client accounts.

Key Features

  • Automatic SSH Key Management - Generates and manages ED25519 SSH keys for each account
  • Smart Account Detection - Automatically detects which account to use based on repository URL
  • Multi-Provider Support - Works with GitHub, GitLab, Bitbucket, and self-hosted instances
  • Custom Provider Support - Add GitHub Enterprise, GitLab self-hosted, and more
  • Zero Configuration - Works out of the box with sensible defaults
  • Security-Focused - No credential storage, uses SSH keys exclusively

Installation

npm install -g @loopgrid/gitm

Quick Start

# Add accounts
gitm add personal
gitm add work

# Authenticate
gitm auth personal

# Clone with auto-detection
gitm clone [email protected]:username/repo.git

# Or configure existing repos
cd existing-repo
gitm init

What's in v1.0.1

  • Enhanced provider detection for gitm-managed URLs
  • Improved error messages for better user experience
  • Fixed regex pattern for profile detection in status command
  • Cleaned up debug logging for cleaner CLI output
  • Added comprehensive documentation and examples
  • Streamlined GitHub Actions workflows