How 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 ...
yacineayechi.hashnode.dev1 min read