How to remove initial commit in Git

To revert the initial commit when it is the only commit in the repository:
Remove the Git repository's history use below command

rm -rf .git

Comments

Popular posts from this blog

How to connect to postgres database in activepieces

How to use Grep Command