From b857b0bd99f0d64069797111ae6e969358021169 Mon Sep 17 00:00:00 2001 From: Karl Horky Date: Mon, 13 Feb 2023 17:28:19 +0100 Subject: [PATCH 1/4] Pipe install script directly to sh Similar to flyctl installation instructions: https://fly.io/docs/hands-on/install-flyctl/#linux --- docs/install.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/install.md b/docs/install.md index 6233eb3c9..d6e86338b 100644 --- a/docs/install.md +++ b/docs/install.md @@ -125,8 +125,7 @@ to install it. Download and run the script: ```shell -curl -LO https://aka.ms/gcm/linux-install-source.sh && -sh ./linux-install-source.sh && +curl -L https://aka.ms/gcm/linux-install-source.sh | sh git-credential-manager-core configure ``` From d7942150ea919c4f95a90dc5ed47c9c4202ee1b3 Mon Sep 17 00:00:00 2001 From: CicadaCinema <52425971+CicadaCinema@users.noreply.github.com> Date: Tue, 14 Feb 2023 18:14:46 +0000 Subject: [PATCH 2/4] add clarification to Linux installation instructions also fix broken link --- docs/install.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/install.md b/docs/install.md index 6233eb3c9..7507e865a 100644 --- a/docs/install.md +++ b/docs/install.md @@ -64,7 +64,7 @@ sudo /usr/local/share/gcm-core/uninstall.sh ### .NET tool :star: -See the [.NET tool](#.NET-tool) section below for instructions on this +See the [.NET tool](#net-tool) section below for instructions on this installation method. --- @@ -206,7 +206,7 @@ the preferred install method for Linux because you can use it to install on any distribution][dotnet-supported-distributions]. You can also use this method on macOS or Windows if you so choose. -**Note:** Make sure you have installed .NET before attempting to run the +**Note:** Make sure you have installed the .NET SDK before attempting to run the following `dotnet tool` commands. #### Install From 24b49599d8ae4874713bce990d588b5b1e157c1c Mon Sep 17 00:00:00 2001 From: Lessley Dennington Date: Mon, 10 Apr 2023 16:06:58 -0600 Subject: [PATCH 3/4] docs: update configure command for install from source The current install from source instructions are out of date - they still recommend using `git-credential-manager-core configure` rather than `git-credential-manager configure`. Update the documentation to instruct users to run the correct command. --- docs/install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/install.md b/docs/install.md index ef276a548..3f8aeddaf 100644 --- a/docs/install.md +++ b/docs/install.md @@ -126,7 +126,7 @@ Download and run the script: ```shell curl -L https://aka.ms/gcm/linux-install-source.sh | sh -git-credential-manager-core configure +git-credential-manager configure ``` **Note:** You will be prompted to enter your credentials so that the script From 6dff24bb3724766d912e77b45cdc104fe23dba10 Mon Sep 17 00:00:00 2001 From: Lessley Dennington Date: Wed, 26 Apr 2023 11:40:06 -0600 Subject: [PATCH 4/4] docs: add link to dotnet sdk Add link to the install instructions for the dotnet SDK. Note that, due to installation instructions differing based on the distro and version users are running, the best we are able to do is link to the page that provides further links for users to follow to use their respective package managers to install. --- docs/install.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/install.md b/docs/install.md index 3f8aeddaf..f434ceaa7 100644 --- a/docs/install.md +++ b/docs/install.md @@ -205,8 +205,10 @@ the preferred install method for Linux because you can use it to install on any distribution][dotnet-supported-distributions]. You can also use this method on macOS or Windows if you so choose. -**Note:** Make sure you have installed the .NET SDK before attempting to run the -following `dotnet tool` commands. +**Note:** Make sure you have installed [version 6.0 of the .NET +SDK][dotnet-install] before attempting to run the following `dotnet tool` +commands. After installing, you will also need to follow the output instructions +to add the tools directory to your `PATH`. #### Install @@ -228,6 +230,7 @@ git-credential-manager unconfigure dotnet tool uninstall -g git-credential-manager ``` +[dotnet-install]: https://learn.microsoft.com/en-us/dotnet/core/install/linux#packages [dotnet-supported-distributions]: https://learn.microsoft.com/en-us/dotnet/core/install/linux [dotnet-tool]: https://learn.microsoft.com/en-us/dotnet/core/tools/global-tools [gcm-credstores]: credstores.md