From 407a347f831483f85b88eea0f0ac12f7ddbab5a8 Mon Sep 17 00:00:00 2001 From: eric sciple Date: Tue, 28 Jun 2022 20:03:53 -0500 Subject: [PATCH] tweak verbiage (#1977) --- docs/checks/git.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/checks/git.md b/docs/checks/git.md index 2e9d093c3..17b24c1f0 100644 --- a/docs/checks/git.md +++ b/docs/checks/git.md @@ -20,11 +20,15 @@ The test also set environment variable `GIT_TRACE=1` and `GIT_CURL_VERBOSE=1` be ## How to fix the issue? -### 1. fatal: unable to access 'https://github.com/actions/checkout/': The requested URL returned error: 400 +### 1. Check global and system git config -Check your global/system git config for any unexpected auth headers +If you are having issues connecting to the server, check your global and system git config for any unexpected authentication headers. You might be seeing an error like: -For example: +``` +fatal: unable to access 'https://github.com/actions/checkout/': The requested URL returned error: 400 +``` + +The following commands can be used to check for unexpected authentication headers: ``` $ git config --global --list | grep extraheader