GenXdev.Coding.Git provides Git repository maintenance utilities — specifically the ability to permanently purge files and folders from a repository's entire history across all branches, rewriting the commit graph to remove sensitive or unwanted data.
| Command | Aliases | What it does |
|---|---|---|
| PermanentlyDeleteGitFolders | — | Purge folders from all branches and all commits in a Git repo |
| Get-GitChangedFiles | gitchanged |
List changed files in a Git repository |
| New-GitCommit | commit |
Create and push a new git commit with all changes |
PermanentlyDeleteGitFolders removes specified directories from a Git
repository's entire history across all branches. Unlike git rm, which
only affects the current branch going forward, this rewrites the commit
history to purge the directories completely.
Get-GitChangedFiles (gitchanged) lists changed files in the current
repository. New-GitCommit (commit) stages all changes, creates a commit,
and pushes to the remote in a single command.
- GenXdev.Coding — Refactoring and README management
- Full Cmdlet Reference