Answers for "how to undo git add --all"

22

git undo add

// undo add for one file
git reset <file>

// undo add for all files
git reset
Posted by: Guest on May-24-2020
1

how to undo git add --all

git reset # Will unstage all the files you've added after your last commit
Posted by: Guest on September-23-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language