Error deploying to Heroku

I’m trying to deploy to Heroku and when I try to push the project I get this error “fatal: not a git repository (or any of the parent directories): .git”

Anyone could please help me ?

HI @nicolasboada ,

Heroku works within a git repository. It seems you are not working inside one

As indicated in the Heroku guide

The Heroku CLI requires Git, the popular version control system. If you don’t already have Git installed, complete the following before proceeding: Git installation & First-time Git setup

Once you have git properly installed and configured you can initialize any Git repository on any folder by doing git init

Hope this helps

1 Like

thanks mate!