I am trying to upload an HTML file for a Github repository. I am trying to commit using Visual Studio Code's GUI.
I wil explain what I have done so far.
- Created a Git repository. i.e. PHP_Development
- Repository URL. https://github.com/ChiranthakaJ/PHP_Development.git
- Added the folder in my PC where my source codes are located. i.e. D:\MyDev\PHP-Dev
- Added a remote repository location named 'MyPHPDev'& added the repository URL as for the remote location.
Then I tried to do the initial commit using CTRL + ENTER key combination. Unfortunately it didn't go as planned and instead I got an error like the below screenshot.
Then I did a small edit to the same file and tried to commit again and got the same error message as the above.
- However the 'Stage changes' were captured properly. Please refer the below screenshot as well.
- Please refer the screenshot of the 'Git Log'.
I can't understand what I have done wrong here?
Please help me.
Thanks and regards, Chiranthaka



commit -S. Have you done that deliberately? There's also a config option "commit.gpgsign" - can you check you don't have that set as a local or global config option in git?