how to unadd git files code example
Example 1: git crdencial --cache
# Set the time to remember your credentials for (in seconds). The command below sets it to 10 minutes.
$ git config --global credential.helper 'cache --timeout=600'
Example 2: unstage staged files git
git reset HEAD file_path
Example 3: how to unadd gitr file
git reset HEAD myfile.txt
Example 4: undo add stage git
git reset <file>