---
title: "Comment by Nishanth Dipali on \"How to delete all commit history in GitHub?\" | Hashnode"
description: "Appreciate your hard work and consistency keep going. We can use this if we have leaked our credentials by mistake"
url: "https://hashnode.com/posts/how-to-delete-all-commit-history-in-github/611e612be404793819ca52f7/comment/611f12daa5d08237f40dd94b"
---

[Discussion](https://hashnode.com/posts/how-to-delete-all-commit-history-in-github/611e612be404793819ca52f7)

Comment [How to delete all commit history in GitHub?](https://hashnode.com/posts/how-to-delete-all-commit-history-in-github/611e612be404793819ca52f7)

[Nishanth Dipali](https://hashnode.com/@lorsten)

[Aug 20, 2021](https://hashnode.com/posts/how-to-delete-all-commit-history-in-github/611e612be404793819ca52f7/comment/611f12daa5d08237f40dd94b)

Appreciate your hard work and consistency keep going.

We can use this if we have leaked our credentials by mistake

[Avneesh Agarwal](https://hashnode.com/@avneesh0612)

[Aug 20, 2021](https://hashnode.com/posts/how-to-delete-all-commit-history-in-github/611e612be404793819ca52f7/comment/611f12daa5d08237f40dd94b#reply-611f5759e404793819ca69a0)

Thanks! Exactly, we all have pushed the credentials at least once 😂
