Gitea v1.21.1 中文文档本文档使用 书栈网 · BookStack.CN 构建 为您的用户或组织发布 Composer 软件包。 要使用 Composer 软件包注册表,您可以使用 Composer 消费,并使用类似 curl 的 HTTP 上传客户端发布 软件包。 要发布 Composer 软件包,请执行 HTTP PUT 操作,将软件包内容放入请求体中。 软件包内容必须是包含 composer.json 基本身份验证的示例请求: 1. curl --user your_username:your_password_or_token \ 2. --upload-file path/to/project.zip \ 3. https://gitea.example.com/api/packages/testuser/composer 或者将软件包版本指定为查询参数: 1. curl --user {filename} 占位符 描述 owner 软件包的所有者 channel 软件包的通道(可选) filename 文件名 使用HTTP基本身份验证的示例请求: 1. curl --user your_username:your_password_or_token \ 2. --upload-file path/to/package-1.0.conda \0 码力 | 303 页 | 3.88 MB | 1 年前3
Pro Git 2nd Edition 2.1.413install Git from source, you need to have the following libraries that Git depends on: autotools, curl, zlib, openssl, expat, and libiconv. For example, if you’re on a system that has dnf (such as Fedora) minimal dependencies for compiling and installing the Git binaries: $ sudo dnf install dh-autoreconf curl-devel expat-devel gettext-devel \ openssl-devel perl-devel zlib-devel $ sudo apt-get install dh-autoreconf Pull Request. You could technically merge in the Pull Request work with something like this: $ curl https://github.com/tonychacon/fade/pull/1.patch | git am Collaborating on the Pull Request As we0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413install Git from source, you need to have the following libraries that Git depends on: autotools, curl, zlib, openssl, expat, and libiconv. For example, if you’re on a system that has dnf (such as Fedora) minimal dependencies for compiling and installing the Git binaries: $ sudo dnf install dh-autoreconf curl-devel expat-devel gettext-devel \ openssl-devel perl-devel zlib-devel $ sudo apt-get install dh-autoreconf the Pull Request. You could technically merge in the Pull Request work with something like this: $ curl https://github.com/tonychacon/fade/pull/1.patch | git am 194 Collaborating on the Pull Request0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 install Git from source, you need to have the following libraries that Git depends on: autotools, curl, zlib, openssl, expat, and libiconv. For example, if you’re on a system that has dnf (such as Fedora) minimal dependencies for compiling and installing the Git binaries: $ sudo dnf install dh-autoreconf curl-devel expat-devel gettext-devel \ openssl-devel perl-devel zlib-devel $ sudo apt-get install dh-autoreconf Pull Request. You could technically merge in the Pull Request work with something like this: $ curl https://github.com/tonychacon/fade/pull/1.patch | git am Collaborating on the Pull Request As we0 码力 | 691 页 | 13.35 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66Git 依赖的库:autotools、curl、zlib、openssl、expat 和 libiconv。 如果 23 你的系统上有 dnf (如 Fedora)或者 apt(如基于 Debian 的系统), 可以使用对应的命令来安装最少的依赖以便编译并安装 Git 的二进制版: $ sudo dnf install dh-autoreconf curl-devel expat-devel gettext-devel 命令把合并请求合并进来。 还有一些有趣的 URL,像 .diff 和 .patch ,就像你猜的那样,它们提供 diff 和 patch 的标准版本。 你可以技 术性地用下面的方法合并“合并请求”: $ curl https://github.com/tonychacon/fade/pull/1.patch | git am 在合并请求上进行合作 就像我们在 GitHub 流程 中说过的,现在你可以跟开启合并请求的人进行会话。 可以做的最基本的事情是向一个不需要授权的接口上发送一个简单的 GET 请求。 该接口可能是一个用户或开源 项目的只读信息。 例如,如果我们想要知道更多关于名为 “schacon” 的用户信息,我们可以运行类似下面的 东西: $ curl https://api.github.com/users/schacon { "login": "schacon", "id": 70, "avatar_url": "https://avatars0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66Git 依赖的库:autotools、curl、zlib、 openssl、expat 和 libiconv。 如果你的系统上有 dnf (如 Fedora)或者 apt(如基于 Debian 的系统), 可以使用对应的命令来安装最少的依赖以便 编译并安装 Git 的二进制版: $ sudo dnf install dh-autoreconf curl-devel expat-devel gettext-devel 求合并进来。 还有一些有趣的 URL,像 .diff 和 .patch ,就像你猜的那样,它们提供 diff 和 patch 的标准版本。 你可以技术性地用下面的方法合并“合并请求”: $ curl https://github.com/tonychacon/fade/pull/1.patch | git am 在合并请求上进行合作 就像我们在 GitHub 流程 中说过的,现在你可以跟开启合并请求的人进行会 可以做的最基本的事情是向一个不需要授权的接口上发送一个简单的 GET 请 求。 该接口可能是一个用户或开源项目的只读信息。 例如,如果我们想要知 道更多关于名为 “schacon” 的用户信息,我们可以运行类似下面的东西: $ curl https://api.github.com/users/schacon { "login": "schacon", "id": 70, "avatar_url": "https://avatars0 码力 | 670 页 | 13.59 MB | 1 年前3
git 操作手册set-�mezone Asia/Shanghai #设置时区 # systemctl restart chronyd # chronyc sources -v ★配置yum源 # curl -ks h�ps://packages.gitlab.com/install/repositories/gitlab/gitlab- ce/script.rpm.sh -o script0 码力 | 35 页 | 1.69 MB | 1 年前3
共 7 条
- 1













