Как удалить все коммит в git

run this command
git reset --soft HEAD~
Breakable Baboon