From 245f325a02413c7415a9fa91b6107a5b3488e2a0 Mon Sep 17 00:00:00 2001 From: IKHARO Paul <paulevansikharo@gmail.com> Date: Mon, 13 Jun 2022 16:30:06 +0530 Subject: [PATCH 1/3] added alternative command for git push --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index e821830503..725c208fdd 100644 --- a/README.md +++ b/README.md @@ -157,6 +157,11 @@ Push your changes using the command `git push`: ``` git push origin <add-your-branch-name> ``` +OR if this gives you a fatal error, try + +``` +git push --set-upstream origin <add-your-branch-name> +``` replacing `<add-your-branch-name>` with the name of the branch you created earlier. -- GitLab From a899ed2a11108b22363173d7365046dec1558556 Mon Sep 17 00:00:00 2001 From: IKHARO Paul <paulevansikharo@gmail.com> Date: Mon, 13 Jun 2022 16:42:24 +0530 Subject: [PATCH 2/3] Added alternate to git push --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 725c208fdd..71cfbb328d 100644 --- a/README.md +++ b/README.md @@ -157,8 +157,11 @@ Push your changes using the command `git push`: ``` git push origin <add-your-branch-name> ``` -OR if this gives you a fatal error, try +OR if this gives you a fatal error; +`error: failed to push some refs to 'https://github.com/PEvansik/first-contributions.git'` + +try ``` git push --set-upstream origin <add-your-branch-name> ``` -- GitLab From bb815128da9d03d4856e4be6ceb0cfb910e9ace7 Mon Sep 17 00:00:00 2001 From: IKHARO Paul <paulevansikharo@gmail.com> Date: Mon, 13 Jun 2022 16:47:03 +0530 Subject: [PATCH 3/3] added alternative to git push --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 71cfbb328d..3e4b361150 100644 --- a/README.md +++ b/README.md @@ -159,7 +159,7 @@ git push origin <add-your-branch-name> ``` OR if this gives you a fatal error; -`error: failed to push some refs to 'https://github.com/PEvansik/first-contributions.git'` +> `error: failed to push some refs to 'https://github.com/PEvansik/first-contributions.git'` try ``` -- GitLab