All processes are carried out by opening the terminal and entering Git commands. This is the content from deleting commits in the local repository to reflecting changes in the remote repository. Deleting Commits While Keeping Changesgit reset HEAD^ Deletes the most recent commitgit reset HEAD~n Delete the last n commits Deleting Both Commits and Changesgit reset --hard HEAD^ Deletes the most rec..