GitIdentities

0.1.0

PowerShell module for managing multiple Git/SSH identities with automatic per-repository configuration using Git includeIf feature.

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name GitIdentities -RequiredVersion 0.1.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name GitIdentities -Version 0.1.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2025 hfrances / TrCode. All rights reserved.

Package Details

Author(s)

  • hfrances

Tags

Git SSH Identity Configuration Repository MultiUser includeIf

Functions

Add-GitIdentity Get-GitIdentities Remove-GitIdentity Test-GitIdentityProvision

Dependencies

This module has no dependencies.

Release Notes

# GitIdentities v1.0.0 Release Notes

## Features
- Multi-identity Git and SSH management
- Automatic platform detection (GitHub, GitLab, Azure DevOps, Bitbucket)
- Per-repository configuration using Git includeIf
- SSH key generation with ed25519 and RSA fallback
- Idempotent operations (safe to run multiple times)
- Cross-user Windows profile support
- Comprehensive logging with configurable verbosity
- Dry-run mode for safe testing
- Identity provisioning status checking

## Commands
- Add-GitIdentity: Create or update Git/SSH identities
- Get-GitIdentities: Discover and list existing identities
- Remove-GitIdentity: Remove identities or specific folders
- Test-GitIdentityProvision: Check identity artifact status

## Requirements
- PowerShell 5.1 or later
- Git (for includeIf support - requires Git 2.13+)
- OpenSSH client (for SSH key generation)
- Windows (tested on Windows 10/11)

FileList

Version History

Version Downloads Last updated
0.2.0 4 12/22/2025
0.1.0 (current version) 3 12/22/2025