I am new to programming and have created a repository on Git. I am trying to add my project folder to Git repo. In order to that, I am using the following set of commands:
git init
git add .
git commit -m "message"
However, on performing "git commit" I am getting env: bash\r: No such file or directory. I tried to search for a solution and found this: https://github.com/clean-docker/Magento2/issues/27. Even after performing the steps mentioned in the link. It is not working for me.
Attached is the screenshot for reference.
I posted this question before and it has been marked as duplicate but I am not able to resolve it with the solution provided on Stack overflow. Please help and put comments if you need more information.