From f2b5855dad4a1839b4355d241b20ef50ba64c6a9 Mon Sep 17 00:00:00 2001 From: taynpg Date: Fri, 17 Jan 2025 09:50:36 +0800 Subject: [PATCH] add: git store secret. --- git-use.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git-use.txt b/git-use.txt index 340d0b2..eaa642a 100644 --- a/git-use.txt +++ b/git-use.txt @@ -3,6 +3,8 @@ git remote -v (查看) git remote remove origin (移除) git remote -v (确认) +git config --global credential.helper store + 如果是推到新建的空仓库的话可以: git remote add origin https://www.sinxmiao.cn/taynpg/demo.git git push -u origin main