Gitea v1.21.1 中文文档
类型。配置以键值对的形式呈现,文件扩展名以 . 开头。 以下配置在下载具有 .apk 文件扩展名的文件时设置 Content-Type: application/vnd.android.package-archive 头部。 1. .apk=application/vnd.android.package-archive ENABLED : false: 启用 CORS 头部(默认禁用) SCHEME 软件包的所有者 package_name 软件包名称 package_version 软件包版本 file_name 文件名 文件内容将在响应主体中返回。响应的内容类型为 application/octet-stream 。 服务器将使用以下 HTTP 状态代码进行响应。 1. curl --user your_username:your_token_or_password \ HTTP PUT 请求,将内容放在请求正文中。 1. curl -X PUT --user {username}:{password} \ 2. -H "Accept: application/vnd.swift.registry.v1+json" \ 3. -F source-archive=@/path/to/package.zip \ 4. -F metadata={metadata}0 码力 | 303 页 | 3.88 MB | 1 年前3Pro Git 2nd Edition 2.1.413
for Windows, there is also a system-level config file at C:\Documents and Settings\All Users\Application Data\Git\config on Windows XP, and in C:\ProgramData\Git\config on Windows Vista and newer. This maintenance, but it is a fully featured option. Installation GitLab is a database-backed web application, so its installation is more involved than some other Git servers. Fortunately, this process is sure to use a good description so you feel comfortable removing the token when your script or application is no longer used. GitHub will only show you the token once, so be sure to copy it. You can now0 码力 | 731 页 | 21.49 MB | 1 年前3Pro Git 2nd Edition 2.1.413
for Windows, there is also a system-level config file at C:\Documents and Settings\All Users\Application Data\Git\config on Windows XP, and in 21 C:\ProgramData\Git\config on Windows Vista and newer maintenance, but it is a fully featured option. Installation GitLab is a database-backed web application, so its installation is more involved than some other Git servers. Fortunately, this process is sure to use a good description so you feel comfortable removing the token when your script or application is no longer used. GitHub will only show you the token once, so be sure to copy it. You can now0 码力 | 501 页 | 17.96 MB | 1 年前3Pro Git 2nd Edition 2.1.413
for Windows, there is also a system-level config file at C:\Documents and Settings\All Users\Application Data\Git\config on Windows XP, and in C:\ProgramData\Git\config on Windows Vista and newer. This maintenance, but it is a fully featured option. Installation GitLab is a database-backed web application, so its installation is more involved than some other Git servers. Fortunately, this process is sure to use a good description so you feel comfortable removing the token when your script or application is no longer used. GitHub will only show you the token once, so be sure to copy it. You can now0 码力 | 691 页 | 13.35 MB | 1 年前3Pro Git 中文版 第2版 2.1.66
你在 Windows 上使用 Git 2.x 以后的版本,那么还有一个系统级的配置文件,Windows XP 上在 C:\Documents and Settings\All Users\Application Data\Git\config ,Windows Vista 及其以 后的版本在 C:\ProgramData\Git\config 。此文件只能以管理员权限通过 git config -f 头信息,发送一个到 repos// /issues/ /comments 的 HTTP POST 请求。 213 $ curl -H "Content-Type: application/json" \ -H "Authorization: token TOKEN" \ --data '{"body":"A new comment, :+1:"}' post(status_url, :body => status.to_json, :headers => { 'Content-Type' => 'application/json', 'User-Agent' => 'tonychacon/signoff', 'Authorization' => "token #{ENV['TOKEN']}" 0 码力 | 501 页 | 19.30 MB | 1 年前3Pro Git 中文版 第2版 2.1.66
Windows 上使用 Git 2.x 以后的版本,那么还有一个系统级的配置文件, Windows XP 上 在 C:\Documents and Settings\All Users\Application Data\Git\config , Windows Vista 及 其 以 后 的 版 本 在 C:\ProgramData\Git\config 。此文件只能以管理员权限通过 git 送 一 个 到 repos// /issues/ /comments 的 HTTP POST 请求。 $ curl -H "Content-Type: application/json" \ -H "Authorization: token TOKEN" \ --data '{"body":"A new comment, :+1:"}' post(status_url, :body => status.to_json, :headers => { 'Content-Type' => 'application/json', 'User-Agent' => 'tonychacon/signoff', 'Authorization' => "token #{ENV['TOKEN']}" 0 码力 | 670 页 | 13.59 MB | 1 年前3
共 6 条
- 1