Thomas Levesque 3/6/2018

Cleanup Git history to remove unwanted files

Read Original

This article provides a step-by-step tutorial on cleaning a Git branch's history to remove accidentally committed files (e.g., bin/, obj/, packages/). It explains the risks of rewriting history, recommends creating a working branch, and details the use of the powerful `git filter-branch` command with an `--index-filter` for efficient cleanup.

Cleanup Git history to remove unwanted files

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser