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 Dev

Heroku - Fatal error when pushing to a git repository

From Dev

git fatal error when pushing md file to Github

From Dev

Pushing to Git returning Error Code 403 fatal

From Dev

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

From Dev

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

From Dev

New to GitHub - Error when pushing to a repository

From Dev

Error when pushing to Heroku caused by hoe 3.7.3

From Dev

Protocol error when pushing to Heroku from CircleCI

From Dev

Protocol error when pushing to Heroku from CircleCI

From Dev

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

From Dev

Redmine error log fatal:not a git repository

From Dev

error pushing to my git hub repository from git

From Java

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

From Dev

Pushing to Git and Heroku

From Dev

duplicate file error while pushing --mirror into Git repository

From Dev

Password prompt when pushing git repository on localhost (gitlab)

From Dev

git push heroku master error: Repository not found

From Dev

Pushing meteor to heroku error

From Dev

Pushing to Heroku Error

From Dev

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

From Java

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

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

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

From Dev

Error when pushing to github repository cloned using a token

From Dev

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

From Dev

Error pushing to Heroku when route is removed from Play Framework

From Dev

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

From Dev

Error pushing to Heroku when route is removed from Play Framework

Related Related

  1. 1

    Heroku - Fatal error when pushing to a git repository

  2. 2

    git fatal error when pushing md file to Github

  3. 3

    Pushing to Git returning Error Code 403 fatal

  4. 4

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

  5. 5

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

  6. 6

    New to GitHub - Error when pushing to a repository

  7. 7

    Error when pushing to Heroku caused by hoe 3.7.3

  8. 8

    Protocol error when pushing to Heroku from CircleCI

  9. 9

    Protocol error when pushing to Heroku from CircleCI

  10. 10

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

  11. 11

    Redmine error log fatal:not a git repository

  12. 12

    error pushing to my git hub repository from git

  13. 13

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

  14. 14

    Pushing to Git and Heroku

  15. 15

    duplicate file error while pushing --mirror into Git repository

  16. 16

    Password prompt when pushing git repository on localhost (gitlab)

  17. 17

    git push heroku master error: Repository not found

  18. 18

    Pushing meteor to heroku error

  19. 19

    Pushing to Heroku Error

  20. 20

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

  21. 21

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

  22. 22

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

  23. 23

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

  24. 24

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

  25. 25

    Error when pushing to github repository cloned using a token

  26. 26

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

  27. 27

    Error pushing to Heroku when route is removed from Play Framework

  28. 28

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

  29. 29

    Error pushing to Heroku when route is removed from Play Framework

HotTag

Archive