Pro Git 2nd Edition 2.1.413though in reality you can do this with nearly any type of file on a computer. If you are a graphic or web designer and want to keep every version of an image or layout (which you would most certainly want history, and the bleeding-edge branches are farther up the history. Figure 26. A linear view of progressive-stability branching It’s generally easier to think about them as work silos, where sets of commits commits graduate to a more stable silo when they’re fully tested. Figure 27. A “silo” view of progressive-stability branching You can keep doing this for several levels of stability. Some larger projects0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413though in reality you can do this with nearly any type of file on a computer. If you are a graphic or web designer and want to keep every version of an image or layout (which you would most certainly want history, and the bleeding-edge branches are farther up the history. Figure 26. A linear view of progressive-stability branching It’s generally easier to think about them as work silos, where sets of commits commits graduate to a more stable silo when they’re fully tested. Figure 27. A “silo” view of progressive-stability branching You can keep doing this for several levels of stability. Some larger projects0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 though in reality you can do this with nearly any type of file on a computer. If you are a graphic or web designer and want to keep every version of an image or layout (which you would most certainly want history, and the bleeding-edge branches are farther up the history. Figure 26. A linear view of progressive-stability branching It’s generally easier to think about them as work silos, where sets of commits commits graduate to a more stable silo when they’re fully tested. Figure 27. A “silo” view of progressive-stability branching You can keep doing this for several levels of stability. Some larger projects0 码力 | 691 页 | 13.35 MB | 1 年前3
Gitea v1.21.1 中文文档版本大于等于 2.18,将自动启用 Git 提交历史图形化展示功能 Last 2 versions of Chrome, Firefox, Safari and Edge Firefox ESR Web框架: Chi ORM: XORM UI 框架: jQuery Fomantic UI Vue3 更多组件参见 package.json 编辑器: CodeMirror EasyMDE 端)。两个证书都必须由受信任的 CA 签名。 数据库证书必须在 X509v3 Extended Key Usage 扩展属性中包含 TLS Web Server Authentication ,而客户端证 书则需要在相应的属性中包含 TLS Web Client Authentication 。 在数据库服务器证书中, Subject Alternative Name 或 Common 770 /etc/gitea 注意: 为了让 Web 安装程序可以写入配置文件,我们临时为 /etc/gitea 路径授予了组外用户 git 写入权限。建议在安装结束后将配置文 件的权限设置为只读。 1. chmod 750 /etc/gitea 2. chmod 640 /etc/gitea/app.ini 如果您不希望通过 Web 安装程序创建配置文件,可以将配置文件设置为仅供0 码力 | 303 页 | 3.88 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66客户端会尝试使用更简单的“哑” HTTP 协议。 哑 HTTP 协 议里 web 服务器仅把裸版本库当作普通文件来对待,提供文件服务。 哑 HTTP 协议的优美之处在于设置起来简 单。 基本上,只需要把一个裸版本库放在 HTTP 根目录,设置一个叫做 post-update 的挂钩就可以了 (见 Git 钩子)。 此时,只要能访问 web 服务器上你的版本库,就可以克隆你的版本库。 下面是设置从 HTTP git clone https://example.com/gitproject.git 这里我们用了 Apache 里设置了常用的路径 /var/www/htdocs,不过你可以使用任何静态 Web 服务器 —— 只 需要把裸版本库放到正确的目录下就可以。 Git 的数据是以基本的静态文件形式提供的(详情见 Git 内部原 理)。 通常的,会在可以提供读/写的智能 HTTP 服务和简单的只读的哑 /srv/git 的 Unix 用户组设置为 www-data,这样 Web 服务器才能读写该仓库, 因为运行 CGI 脚 本的 Apache 实例默认会以该用户的权限运行: $ chgrp -R www-data /srv/git 接下来我们要向 Apache 配置文件添加一些内容,来让 git-http-backend 作为 Web 服务器对 /git 路径请 求的处理器。 SetEnv GIT_PROJECT_ROOT0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66客户端会尝试使用更简单的 “哑” HTTP 协议。 哑 HTTP 协议里 web 服务器仅把裸版本库当作普通文件来 对待,提供文件服务。 哑 HTTP 协议的优美之处在于设置起来简单。 基本 上,只需要把一个裸版本库放在 HTTP 根目录,设置一个叫做 post-update 的 挂钩就可以了 (见 Git 钩子)。 此时,只要能访问 web 服务器上你的版本 库,就可以克隆你的版本库。 下面是设置从 git clone https://example.com/gitproject.git 这里我们用了 Apache 里设置了常用的路径 /var/www/htdocs,不过你可以使 用任何静态 Web 服务器 —— 只需要把裸版本库放到正确的目录下就可以。 Git 的数据是以基本的静态文件形式提供的(详情见 Git 内部原理)。 通常的,会在可以提供读/写的智能 HTTP 服务和简单的只读的哑 /srv/git 的 Unix 用户组设置为 www-data,这样 Web 服务器才 能读写该仓库, 因为运行 CGI 脚本的 Apache 实例默认会以该用户的权限运 行: $ chgrp -R www-data /srv/git 接下来我们要向 Apache 配置文件添加一些内容,来让 git-http-backend 作 为 Web 服务器对 /git 路径请求的处理器。 SetEnv GIT_PROJECT_ROOT0 码力 | 670 页 | 13.59 MB | 1 年前3
git 操作手册h�ps://tortoisegit.org/ 使用TortoiseGit时,要求提前安装好git工具 ★部署gitlab仓库 gitlab是一个基于git实现的在线代码仓库软件,提供web可视化管理界面,通常 用于企业团队内部协作开发 ★安装gitlab-ce 部署gitlab-ce要求服务器内存>=4GB,本例使用操作系统为 Rocky Linux 8.8, gitlab-ce版本16 /var/log/gitlab/gitlab-rails/produc�on.log # tail -f /var/log/gitlab/gitlab-rails/produc�on_json.log ★web界面 ★管理员账号登录web界面及修改密码 浏 览 器 登 录 gitlab-ce , 用 户 名 root , 初 始 化 密 码 为/etc/gitlab/ini�al_root_password文件里的密码0 码力 | 35 页 | 1.69 MB | 1 年前3
共 7 条
- 1













