I have managed to create a working directory and staged the files successfully and now I wanted to move them to commits. In the terminal in VS code I have opened the folder and type git commit and it returns the following:
/Users/lenabeltramin/Desktop/LenasSkillshareProject(HEAD) 21:12:55
$ git commit
hint: Waiting for your editor to close the file... code --wait: code: command not found
error: There was a problem with the editor 'code --wait'.
Please supply the message using either -m or -F option.
How do I solve this so I can commit the files? Anyone who can guide me through this? I've been challenged to push something to GitHub for the first time and I'm a total rookie but trying my best to learn.