The git restore command does not remove a file from the staging area!
An accepted solution will allow files to be remove from the git staging area. The demo should show:
- files being added, shown with
git status
- files removed and confirmed with
git status
🔗 Docs:
https://libgit2.org/libgit2/#HEAD/group/index/git_index_remove
The
git restorecommand does not remove a file from the staging area!An accepted solution will allow files to be remove from the git staging area. The demo should show:
git statusgit status🔗 Docs:
https://libgit2.org/libgit2/#HEAD/group/index/git_index_remove