remove git add file code example
Example 1: unstage staged files git
git reset HEAD file_path
Example 2: git remove added file to commint
git reset file-name
Example 3: how to unadd gitr file
git reset HEAD myfile.txt
Example 4: git add and remove
git add <file>
git reset <file>