---
title: "Discussion on \"Completely removing accidentally committed files from the Git history\" | Hashnode"
description: "Discussion on \"Completely removing accidentally committed files from the Git history\". You've accidentally added and committed a large binary file or several large files to a Git repository? And to make things even worse, you've already pushed your changes to the remote?\nThe most important thing is to understand that simply deleting th..."
url: "https://hashnode.com/posts/completely-removing-accidentally-committed-files-from-the-git-history/64391ff42f9ee8517018d0cb"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Completely removing accidentally committed files from the Git history](https://pragmaticnotes.hashnode.dev/completely-removing-accidentally-committed-files-from-the-git-history?utm_source=hashnode&utm_medium=feed)

You've accidentally added and committed a large binary file or several large files to a Git repository? And to make things even worse, you've already pushed your changes to the remote? The most important thing is to understand that simply deleting th...

Apr 14, 2023 · 4 min read · pragmaticnotes.hashnode.dev  
Updated Sep 21, 2023  
Read the article

-   [#git](https://hashnode.com/tag/git)
-   [#github](https://hashnode.com/tag/github)
-   [#gitlab](https://hashnode.com/tag/gitlab)
-   [#git-rebase](https://hashnode.com/tag/git-rebase)
-   [#rebase-interactive](https://hashnode.com/tag/rebase-interactive)

## Written by

[Kilian Kluge](https://hashnode.com/@ionicsolutions)

@ionicsolutions

  
[View profile](https://hashnode.com/@ionicsolutions)

My journey into software and infrastructure engineering started in a physics research lab, where I discovered the merits of loose coupling and adherence to standards the hard way. I like automated testing, concise documentation, and hunting complex bugs.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
