From 11da3b359c6bf537d08d8098cfe00f591e2605a6 Mon Sep 17 00:00:00 2001 From: zyimm Date: Tue, 10 Oct 2023 16:09:32 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=AFgit=E4=B8=80=E4=BA=9B=E5=B8=B8?= =?UTF-8?q?=E8=A7=81=E9=97=AE=E9=A2=98=E8=A7=A3=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _posts/git/questions.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 _posts/git/questions.md diff --git a/_posts/git/questions.md b/_posts/git/questions.md new file mode 100644 index 0000000..488a4f8 --- /dev/null +++ b/_posts/git/questions.md @@ -0,0 +1,17 @@ +--- +title: 💯git一些常见问题解决 +date: 2023-10-06 +tags: PHP +--- + +本篇文章记录it一些常见问题解决,不定时更新! + + +1.**You asked to pull from the remote 'gitea', but did not specify a branch. Because this is not the default configured remote for your current branch, you must specify a branch on the command line** + +这个错误提示说明您在从远程仓库拉取代码时没有指定分支。由于您的当前分支不是默认配置的远程分支,所以需要在命令行中指定分支。 + +要解决这个问题,您可以使用以下命令来拉取指定分支的代码: +```sh +git pull +``` \ No newline at end of file