💯git一些常见问题解决
This commit is contained in:
parent
c3ec7948c7
commit
11da3b359c
17
_posts/git/questions.md
Normal file
17
_posts/git/questions.md
Normal file
@ -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 <remote> <branch>
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user