Deletes the last 3 commits
git reset --hard HEAD~3
Deletes all commits after the specified commit and moves HEAD to that commit (this will get rid of changes so we should be careful)
git reset --hard 004caa3
by Valeri Tandilashvili
4 years ago
Git
Git/Github Tutorial
0
Pro tip: use ```triple backticks around text``` to write in code fences