From dbdab78b5475bf3b7e6d2e887d41b19aea94dcc9 Mon Sep 17 00:00:00 2001 From: Chris Patterson Date: Thu, 13 Feb 2020 14:42:30 -0500 Subject: [PATCH] SSH submodules --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 38261da..54b3429 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,8 @@ jobs: - name: Checkout submodules shell: bash run: | - git config --global url."https://github.com/".insteadOf "git@github.com:" + # If your submodules are configured to use SSH instead of HTTPS please uncomment the following line + # git config --global url."https://github.com/".insteadOf "git@github.com:" auth_header="$(git config --local --get http.https://github.com/.extraheader)" git submodule sync --recursive git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1