We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4499a32 commit 39a8e42Copy full SHA for 39a8e42
gen_ssh-key.sh
@@ -4,3 +4,10 @@ ssh-keygen -t ed25519 -C "$email" -N ""
4
eval "$(ssh-agent -s)"
5
ssh-add ~/.ssh/id_ed25519
6
cat ~/.ssh/id_ed25519.pub
7
+
8
+echo "✅ SSH 公钥已生成并添加到 ssh-agent 中。"
9
+echo "✅ 请将上面的公钥添加到 GitHub/GitLab/Bitbucket 等代码托管平台的 SSH 密钥中。"
10
+echo https://github.com/settings/keys
11
12
+echo "✅ 修改远程仓库地址为 SSH 地址 git@github.com:linjonh/shellscript-install.git"
13
+git remote set-url origin git@github.com:linjonh/shellscript-install.git
0 commit comments