I got the error (maybe not exactly an error?) "hint: Waiting for your editor to close the file..." when I tried to commit the code to ignore PDF files. It tries to open my VS code which is the default text editor for my terminal. Any thoughts?
Did you write a commit message in the VS CODE, save the file, and then close VS CODE, so that git can stop waiting for it?
I used git commit -m "Initial commit" for the lab since there was a deadline but I didn't write the commit message in VS code, so I guess it didn't work even if I closed the text editor.