CopyGitHubRepo

0.3.0

PowerShell module for safely copying and migrating GitHub repositories with clean Snapshot or history-preserving FullHistory modes.

Minimum PowerShell version

7.4

Installation Options

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

Install-Module -Name CopyGitHubRepo -RequiredVersion 0.3.0

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

Install-PSResource -Name CopyGitHubRepo -Version 0.3.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) 2026 infoconex. Licensed under the MIT License.

Package Details

Author(s)

  • infoconex

Tags

GitHub Git Repository Copy Migration Automation DevOps PowerShell Windows Linux MacOS

Functions

Copy-GitHubRepository Get-GitHubRepository Start-CopyGitHubRepositoryWizard Test-GitHubRepositoryMigration

PSEditions

Core

Dependencies

This module has no dependencies.

Release Notes

### Added

- Added opt-in GitHub Release preservation for `Snapshot` migrations with `-IncludeReleases`, building a clean unrelated checkpoint history from selected reviewed release states instead of preserving original source commit identity or detailed ancestry.
- Added deterministic ancestry-ordered Snapshot checkpoint planning from immutable reviewed tag, ref, and tree evidence, including duplicate-target coalescing and fail-closed handling for incompatible release topology or selected source drift.
- Added recreation of selected release tags, GitHub Release metadata, assets, and Latest designation against generated Snapshot checkpoint commits, with independent read-only verification of checkpoint sequence, parentage, tree equivalence, tag targets, release content, and final current-state behavior.
- Added Snapshot release-preservation options to the guided wizard, including the same tag include/exclude, prerelease, draft, and newest-N filters available to the command surface.
- Added Snapshot release-preservation provenance and recovery evidence plus controlled unit, integration, and live GitHub end-to-end coverage for new-destination, same-name replacement, filtering, assets, Latest designation, and final-HEAD scenarios.

### Changed

- Clarified the Snapshot contract across user, reference, product, and engineering documentation: plain Snapshot remains one unrelated current-state root commit, while `Snapshot -IncludeReleases` creates new checkpoint commits and intentionally does not preserve original commit identities or ancestry; FullHistory remains the history- and tag-target-preserving mode.
- Extended product traceability and migration orchestration documentation to distinguish plain Snapshot, Snapshot release checkpoints, and FullHistory release preservation consistently.

FileList

Version History

Version Downloads Last updated
0.4.0 12 9/3/2026
0.3.0 (current version) 8 9/1/2026
0.2.0 6 8/31/2026
0.1.1 11 8/26/2026
0.1.0 11 8/23/2026