Heroku - Fatal error when pushing to a git repository

beginning

I use Git Bash to push my files to a git repository. It was fine when I did this:

heroku login
git add .

but I tried this:

`git push heroku master

the following error came up:

fatal: 'heroku' does not appear to be a git repository
fatal: could not read from remote repository

Please make sure you have correct access rights 
and the repository exists.

I have tried the following commands but they didn't work:

heroku keys:clear
heroku keys:add

I am new to Git and Heroku, any help would be appreciated.

georgebrock

You haven't created a Heroku application yet.

You need to run the heroku create command, which will create a Heroku application, and add a git remote called heroku that points to your newly created application. After that git push heroku master should work fine.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

Pushing to Git returning Error Code 403 fatal: HTTP request failed

From Java

Receiving "fatal: Not a git repository" when attempting to remote add a Git repo

From Dev

git push heroku master error: Repository not found

From Dev

'cannot open git-upload-pack' error in Eclipse when cloning or pushing git repository

From Dev

Error: uninitialized constant Sprockets::Helpers when pushing to Heroku

From Dev

Error when pushing to Heroku caused by hoe 3.7.3

From Dev

SourceTree - git: fatal: remote error: Repository not found

From Dev

Protocol error when pushing to Heroku from CircleCI

From Dev

fatal: Not a git repository: when adding files to git repo

From Dev

Why does fatal: Not a git repository error show up when publishing site using sbt-ghpages for valid git project?

From Dev

unable to look up https fatal error when push to git repository

From Dev

Error pushing to Heroku when route is removed from Play Framework

From Dev

Pushing to Git returning Error Code 403 fatal

From Dev

git fatal error when pushing md file to Github

From Dev

Error when pushing to github repository cloned using a token

From Dev

Pushing meteor to heroku error

From Dev

Redmine error log fatal:not a git repository

From Dev

Password prompt when pushing git repository on localhost (gitlab)

From Dev

Heroku - Fatal error when pushing to a git repository

From Dev

Error: uninitialized constant Sprockets::Helpers when pushing to Heroku

From Dev

Pushing to Heroku Error

From Dev

Protocol error when pushing to Heroku from CircleCI

From Dev

Why does fatal: Not a git repository error show up when publishing site using sbt-ghpages for valid git project?

From Dev

Error pushing to Heroku when route is removed from Play Framework

From Dev

Pushing to Git and Heroku

From Dev

duplicate file error while pushing --mirror into Git repository

From Dev

error pushing to my git hub repository from git

From Dev

New to GitHub - Error when pushing to a repository

From Dev

Docker image git clone error "fatal: Not a git repository"

Related Related

  1. 1

    Pushing to Git returning Error Code 403 fatal: HTTP request failed

  2. 2

    Receiving "fatal: Not a git repository" when attempting to remote add a Git repo

  3. 3

    git push heroku master error: Repository not found

  4. 4

    'cannot open git-upload-pack' error in Eclipse when cloning or pushing git repository

  5. 5

    Error: uninitialized constant Sprockets::Helpers when pushing to Heroku

  6. 6

    Error when pushing to Heroku caused by hoe 3.7.3

  7. 7

    SourceTree - git: fatal: remote error: Repository not found

  8. 8

    Protocol error when pushing to Heroku from CircleCI

  9. 9

    fatal: Not a git repository: when adding files to git repo

  10. 10

    Why does fatal: Not a git repository error show up when publishing site using sbt-ghpages for valid git project?

  11. 11

    unable to look up https fatal error when push to git repository

  12. 12

    Error pushing to Heroku when route is removed from Play Framework

  13. 13

    Pushing to Git returning Error Code 403 fatal

  14. 14

    git fatal error when pushing md file to Github

  15. 15

    Error when pushing to github repository cloned using a token

  16. 16

    Pushing meteor to heroku error

  17. 17

    Redmine error log fatal:not a git repository

  18. 18

    Password prompt when pushing git repository on localhost (gitlab)

  19. 19

    Heroku - Fatal error when pushing to a git repository

  20. 20

    Error: uninitialized constant Sprockets::Helpers when pushing to Heroku

  21. 21

    Pushing to Heroku Error

  22. 22

    Protocol error when pushing to Heroku from CircleCI

  23. 23

    Why does fatal: Not a git repository error show up when publishing site using sbt-ghpages for valid git project?

  24. 24

    Error pushing to Heroku when route is removed from Play Framework

  25. 25

    Pushing to Git and Heroku

  26. 26

    duplicate file error while pushing --mirror into Git repository

  27. 27

    error pushing to my git hub repository from git

  28. 28

    New to GitHub - Error when pushing to a repository

  29. 29

    Docker image git clone error "fatal: Not a git repository"

HotTag

Archive