GitIdentities
0.2.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
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 Get-GitIdentitySshPublicKey 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
- GitIdentities.nuspec
- Public\Get-GitIdentitySshPublicKey.ps1
- Private\Core.ps1
- Private\Provision.ps1
- Public\Remove-GitIdentity.ps1
- GitIdentities.psd1
- Private\CredentialHelper.ps1
- Public\Add-GitIdentity.ps1
- Public\Test-GitIdentityProvision.ps1
- GitIdentities.psm1
- Private\Logging.ps1
- Public\Get-GitIdentities.ps1
- README.md
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 0.2.0 (current version) | 4 | 12/22/2025 |
| 0.1.0 | 3 | 12/22/2025 |