
Git CLI Delete History Commit
2020-03-08 / Kuswati
- Checkout
- Add all the files
- Commit the changes
- Delete the branch
- Rename the current branch to master
- Finally, force update your repository
git checkout --orphan latest_branch
git add -A
git commit -am "commit message"
git branch -D master
git branch -m master
git push -f origin master
Git CLI Delete History Commit
PermaLink: https://www.webmanajemen.com/2020/03/git-cli-delete-history-commit.html
Google Rich Snippets | Schema Markup Validator | Google Pagespeed Insight