🎨 更新部分格式
This commit is contained in:
parent
3b36686e4c
commit
d7646e4c4a
@ -6,12 +6,12 @@ tags: Git
|
|||||||
|
|
||||||
本篇文章记录git一些常见问题解决,不定时更新!
|
本篇文章记录git一些常见问题解决,不定时更新!
|
||||||
|
|
||||||
|
|
||||||
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**
|
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
|
```sh
|
||||||
git pull <remote> <branch>
|
git pull <remote> <branch>
|
||||||
```
|
```
|
@ -12,14 +12,17 @@ tags: PHP
|
|||||||
1. checking whether libcurl version >= 7.18.2... configure: error: no
|
1. checking whether libcurl version >= 7.18.2... configure: error: no
|
||||||
|
|
||||||
这个类似这样错误需要确认libcurl,curl-dev是否正确安装,基于不同发行版docker可能包名不一致,需要根据实际情况区别!以下是基于alpine docker 安装命令
|
这个类似这样错误需要确认libcurl,curl-dev是否正确安装,基于不同发行版docker可能包名不一致,需要根据实际情况区别!以下是基于alpine docker 安装命令
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
apk add libcurl curl-dev
|
apk add libcurl curl-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
libcurl curl-dev 是linux下curl开发一系列依赖库和文件。http扩展需要curl,所以需要安装相关依赖!
|
libcurl curl-dev 是linux下curl开发一系列依赖库和文件。http扩展需要curl,所以需要安装相关依赖!
|
||||||
|
|
||||||
2. please install and enable pecl/raphf
|
2. please install and enable pecl/raphf
|
||||||
|
|
||||||
这个问题需要确认`pecl/raphf`扩展是否安装,如果没有需要执行:
|
这个问题需要确认`pecl/raphf`扩展是否安装,如果没有需要执行:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
pecl install pecl/raphf
|
pecl install pecl/raphf
|
||||||
|
|
||||||
@ -28,8 +31,8 @@ pecl install pecl/raphf
|
|||||||
docker-php-ext-enable raphf
|
docker-php-ext-enable raphf
|
||||||
|
|
||||||
```
|
```
|
||||||
raphf 用于提供高级的哈希函数和消息认证码(MAC),提供一些加密算法,用来保护数据安全性!
|
|
||||||
|
|
||||||
|
raphf 用于提供高级的哈希函数和消息认证码(MAC),提供一些加密算法,用来保护数据安全性!
|
||||||
|
|
||||||
# 安装验证
|
# 安装验证
|
||||||
|
|
||||||
@ -37,4 +40,4 @@ raphf 用于提供高级的哈希函数和消息认证码(MAC),提供一
|
|||||||
pecl install pecl_http
|
pecl install pecl_http
|
||||||
```
|
```
|
||||||
|
|
||||||
看看是否还会报错?
|
看看是否还会报错?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user