remove from git add code example
Example 1: remove git from project
rm -rf .git*
Example 2: remove git
rm -rf .git
Example 3: git undo add
// undo add for one file
git reset <file>
// undo add for all files
git reset
Example 4: revert git add
git reset <file> or git reset
Example 5: git remove added file to commint
git reset file-name