Answers for "revert git add"

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
9

revert git add

git reset <file> or git reset
Posted by: Guest on April-07-2020
2

how to revert to log in git

git revert --no-commit 0766c053..HEAD
git commit
Posted by: Guest on April-18-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language