How do I delete a specific git commit

Basic Git commands

Lists all branches in the local repository with an asterisk () that appears next to the current branch.

Retrieves information about all existing branches in the CodeCommit repository in the local repository.

Lists all branches in the local repository and remote tracking branches in the local repository.

Lists only remote tracking branches in the local repository.

Creates a new branch in the local repo based on the specified branch name.

Switches to a different branch in the local repo using the specified branch name.

Using the given branch name, creates a new branch in the local repository and switches to it.

Pushes a new branch for the CodeCommit repository from the local repo to the CodeCommit repository using the specified name and the specified branch name. The push also sets upstream tracking data for the branch in the local repository.

Creates a new branch in the local repo based on the specified branch name. Then, using the specified name that the uses for the CodeCommit repository and the specified branch name, connects the new branch in the local repo to an existing branch in the repository and the specified branch name.

Merges changes from another branch in the local repository with the current branch in the local repository.

Deletes a branch in the local repository unless it contains unsolicited changes.

Deletes a branch from the CodeCommit repository using the specified name that the local repository has for the CodeCommit repository and the specified branch name. (Note the use of the colon ().)