[Solved] Why does it give me an error message when I use git add? [closed]


Using –all instead of individual filenames will stage all changes (new, modified, and deleted) files.

You should use:

git add --all

Source: https://www.w3schools.com/git/git_staging_environment.asp

solved Why does it give me an error message when I use git add? [closed]