Home > Blockchain >  Why does it give me an error message when I use git add?
Why does it give me an error message when I use git add?

Time:03-12

I'm trying to add all the files using git all but an error message returns:

Error:

git: 'add' is not a git command.

I looked at git solutions but couldn't find any solution

CodePudding user response:

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

CodePudding user response:

To add all files I generally use

git add *

Can you try that?

  •  Tags:  
  • git
  • Related