Yacine Ayechiforyacineayechi 💻⚡️yacineayechi.hashnode.net·Jul 26, 2022How to delete all commit history in GitHub?Deleting the commit history 1. Create Orphan Branch Create a new orphan branch in git repository. The newly created branch will not show in ‘git branch’ command. git checkout --orphan temp_branch 2. Add Files to Branch Now add all files to the newly ...44 readsGitHubAdd a thoughtful commentNo comments yetBe the first to start the conversation.