From c1cf6df27edebf5d4eab2dbaa960ef6d6cb0e2b0 Mon Sep 17 00:00:00 2001 From: JIAL <2287346125@qq.com> Date: Mon, 27 Nov 2023 22:06:11 +0800 Subject: [PATCH] 2023/11/27 --- VSCode/git配置笔记.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/VSCode/git配置笔记.txt b/VSCode/git配置笔记.txt index ff38985..2f414c1 100644 --- a/VSCode/git配置笔记.txt +++ b/VSCode/git配置笔记.txt @@ -49,4 +49,9 @@ $ git config --global --replace-all uesr.email "你的 git 的邮箱" 8、查看git的远程仓库信息 git remote -v 查看远程仓库地址。 -git remote show origin 查看远程仓库信息。 \ No newline at end of file +git remote show origin 查看远程仓库信息。 + +9、error: failed to push some refs to 如何解决 +git pull --rebase origin main +然后在进行推送 +git push -u origin main \ No newline at end of file