Try git reset --soft SHAOFFIRSTCOMMIT and then git commit --amend
The first command resets the current branch to the first commit, but keepsmthekeeps the current index and the second command commits the current index in the last commit.
Try git reset --soft SHAOFFIRSTCOMMIT and then git commit --amend
The first command resets the current branch to the first commit, but keepsmthe current index and the second command commits the current index in the last commit.
Try git reset --soft SHAOFFIRSTCOMMIT and then git commit --amend
The first command resets the current branch to the first commit, but keeps the current index and the second command commits the current index in the last commit.
Try git reset --mixedsoft SHAOFFIRSTCOMMIT and then git commit --amend
The first command resets the current branch to the first commit, but keepsmthe current index and the second command commits the current index in the last commit.
Try git reset --mixed SHAOFFIRSTCOMMIT and then git commit --amend
The first command resets the current branch to the first commit, but keepsmthe current index and the second command commits the current index in the last commit.
Try git reset --soft SHAOFFIRSTCOMMIT and then git commit --amend
The first command resets the current branch to the first commit, but keepsmthe current index and the second command commits the current index in the last commit.
Try git reset --mixed SHAOFFIRSTCOMMIT and then git commit --amend
The first command resets the current branch to the first commit, but keepsmthe current index and the second command commits the current index in the last commit.