I am trying to upload a Ruby app to Heroku. I start with git init and then I type git add . and then I use git commit -m initial commit. <
git init
git add .
git commit -m initial commit
In my case, the problem was I used wrong alias for git commit -m. I used gcalias which dit not meant git commit -m
git commit -m
gc