From 327f1b89f51342e02b7f1836fec8d321d7ff8a54 Mon Sep 17 00:00:00 2001 From: Arshi Date: Wed, 24 Aug 2022 09:28:51 +0530 Subject: [PATCH 1/4] Update heroku.md I faced this error while following the commands. --- .../setup-deployment-guides/deployment/hosting-guides/heroku.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides/heroku.md b/docs/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides/heroku.md index 02731c97b1..4c7304c65b 100644 --- a/docs/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides/heroku.md +++ b/docs/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides/heroku.md @@ -410,6 +410,8 @@ git commit -am "Changes to my-project noted" git push heroku HEAD:main heroku open ``` +If you are facing issue with git push command. 'heroku' does not appear to be a git repository. You need to run below command +heroku git:remote -a your-app-name ## File Uploads From 9049e87a0172ace03a890609d159583a763d63e5 Mon Sep 17 00:00:00 2001 From: Gabriel <83644514+gpene@users.noreply.github.com> Date: Mon, 26 Sep 2022 09:17:20 +0200 Subject: [PATCH 2/4] copy edit --- .../deployment/hosting-guides/heroku.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides/heroku.md b/docs/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides/heroku.md index 4c7304c65b..7a85ada24c 100644 --- a/docs/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides/heroku.md +++ b/docs/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides/heroku.md @@ -410,8 +410,11 @@ git commit -am "Changes to my-project noted" git push heroku HEAD:main heroku open ``` -If you are facing issue with git push command. 'heroku' does not appear to be a git repository. You need to run below command -heroku git:remote -a your-app-name + +::: tip +If you see the following issue while running the `git push` command: `'heroku' does not appear to be a git repository`, +you need to run the following command: `heroku git:remote -a your-app-name`. +::: ## File Uploads From ad98972f3e0f6b82b024d907ba51b259ac797aa6 Mon Sep 17 00:00:00 2001 From: Pierre Wizla Date: Mon, 3 Oct 2022 16:54:35 +0200 Subject: [PATCH 3/4] Update formatting (merge with prev. line) --- .../setup-deployment-guides/deployment/hosting-guides/heroku.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides/heroku.md b/docs/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides/heroku.md index 7a85ada24c..16537a7e1f 100644 --- a/docs/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides/heroku.md +++ b/docs/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides/heroku.md @@ -413,7 +413,6 @@ heroku open ::: tip If you see the following issue while running the `git push` command: `'heroku' does not appear to be a git repository`, -you need to run the following command: `heroku git:remote -a your-app-name`. ::: ## File Uploads From 8d7580da498587f952ba1a4195fbe78b9a3590c0 Mon Sep 17 00:00:00 2001 From: Pierre Wizla Date: Mon, 3 Oct 2022 16:54:48 +0200 Subject: [PATCH 4/4] Update formatting (merge 2 lines) --- .../setup-deployment-guides/deployment/hosting-guides/heroku.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides/heroku.md b/docs/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides/heroku.md index 16537a7e1f..eaf83b15bd 100644 --- a/docs/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides/heroku.md +++ b/docs/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides/heroku.md @@ -412,7 +412,7 @@ heroku open ``` ::: tip -If you see the following issue while running the `git push` command: `'heroku' does not appear to be a git repository`, +If you see the following issue while running the `git push` command: `'heroku' does not appear to be a git repository`, run the following command: `heroku git:remote -a your-app-name`. ::: ## File Uploads