I have been working on a flutter project in between I tried to initialise git on that project. first I used git init and then git add --all.All the changes are visible on git status. Then I user git commit -m 'commit message' and got this error-error: pathspec 'commit' did not match any file(s) known to git so i used-git commit -a -m 'commit message'.so i got this error
how can I commit all these changes?