SuperAPI AI Directory

git-undo

Coding & development

View repository

Updated 10-16 05:47

About this skill

Git Undo

Undo the last commit but keep changes staged.

  1. Undo the last commit but keep the file changes in the staging area.
    • Command: git reset --soft HEAD~1
    • This allows you to fix the commit message or add missing files before committing again.