Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.57 KB

File metadata and controls

32 lines (23 loc) · 1.57 KB

GenXdev.Coding.Git

Overview

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.

What It Offers

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

How It All Comes Together

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.

See Also