---
title: "Discussion on \"Remove pushed git commit history\" | Hashnode"
description: "Discussion on \"Remove pushed git commit history\". How to remove history from github\nIncase you pushed sensitive data or wrong files into your github repository and need to remove it completely. I want to outline the steps I took to do the same. Most of the answers online only reverts the commit but ..."
url: "https://hashnode.com/posts/remove-pushed-git-commit-history/6319f8a36b34d71380dae7e8"
---

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

Discussion

# [Remove pushed git commit history](https://johnabioye.hashnode.dev/remove-pushed-git-commit-history?utm_source=hashnode&utm_medium=feed)

How to remove history from github Incase you pushed sensitive data or wrong files into your github repository and need to remove it completely. I want to outline the steps I took to do the same. Most of the answers online only reverts the commit but ...

Sep 8, 2022 · 1 min read · johnabioye.hashnode.dev  
Updated Aug 30, 2023  
Read the article

-   [#github](https://hashnode.com/tag/github)
-   [#git-commit](https://hashnode.com/tag/git-commit)
-   [#ci-cd](https://hashnode.com/tag/ci-cd)
-   [#continuous-integration](https://hashnode.com/tag/continuous-integration)
-   [#devops](https://hashnode.com/tag/devops)

## Written by

[John Abioye](https://hashnode.com/@whizjohn)

@whizjohn

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
