From 7e0c12bc69b18b3fd760aad63f495def1906eb41 Mon Sep 17 00:00:00 2001 From: Long Xing Date: Wed, 27 Sep 2023 15:31:05 +0800 Subject: [PATCH] update text --- _posts/2023-09-27-GCM.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/_posts/2023-09-27-GCM.md b/_posts/2023-09-27-GCM.md index c73d25e101a..9c51081f1f0 100644 --- a/_posts/2023-09-27-GCM.md +++ b/_posts/2023-09-27-GCM.md @@ -13,7 +13,7 @@ img_path: /assets/posts_assets/2023-09-27-GCM/ ## 1. [Credential stores](https://github.com/git-ecosystem/git-credential-manager/blob/release/docs/credstores.md) -* **生成 GPG key pair** +* **[生成 GPG key pair](https://docs.github.com/zh/authentication/managing-commit-signature-verification/generating-a-new-gpg-key)** * 运行: `gpg --full-generate-key` @@ -69,10 +69,10 @@ git-credential-manager configure * 第一次运行 `git push` 显示: - ```shell - Select an authentication method for 'https://github.com/': - 1. Device code (default) - 2. Personal access token - ``` +```text +Select an authentication method for 'https://github.com/': +1. Device code (default) +2. Personal access token +``` * 选择 `Device code (default)`, 按照提示在浏览器中打开链接, 登陆 GitHub 账号, 然后输入设备码即可. \ No newline at end of file