Squashes the Commits - Learn Git the Hard Way

PHOTO EMBED

Tue Oct 25 2022 04:27:01 GMT+0000 (Coordinated Universal Time)

Saved by @yaswanth_nandam #git #rebase #i #interactive #initialcommit

git rebase -i $(git rev-list --max-parents=0 HEAD) HEAD
content_copyCOPY

get to the starting commit

https://www.educative.io/module/page/LgoqGKFl7YxO2wNDm/10370001/4636226247720960/5201149705060352