To undo a git add before committing, you can unstage the changes using git reset or … How to undo ‘git add’ before commit?Read more
undo
How do I undo the most recent local commits in Git?
To undo the most recent local commits in Git, use one of the following methods based … How do I undo the most recent local commits in Git?Read more