Following the guidelines in this article :
♦ Installed a snap to work with heroku
sudo apt-get install snapd ♦ Installed heroku
sudo snap install --classic heroku ♦ Logged in on heroku
snap heroku login ♦ Set up ssh to work remotely with github.com
ssh-keygen -t rsa -C "your_email@example.com" After that, on the githaba, I created a new ssh-key, where I placed the contents of the id_rsa.pub file.
♦ Copied to my home directory folder programmer-site with github.com
git clone git@github.com:<мой логин на гитхабе>/programmer-site ♦ From the programmer-site folder created the site
cd programmer-site heroku apps: create programmersite1 The site is accessible via the link https://programmersite1.herokuapp.com Next, being in the programmer-site folder that I cloned from the github, I will execute the command
git push heroku master I get an error
fatal: Not a git repository (of any of the parent directories): .git