Gitea v1.21.1 中文文档Last 2 versions of Chrome, Firefox, Safari and Edge Firefox ESR Web框架: Chi ORM: XORM UI 框架: jQuery Fomantic UI Vue3 更多组件参见 package.json 编辑器: CodeMirror EasyMDE Monaco Editor 数据库驱动: github.c 实例在不同机器上(远程数据 库)。 注意:以下所有步骤要求您的选择的数据库引擎已安装在您的系统上。对于远程数据库设置,请在数据库实例上安装 服务器应用程序,在 Gitea 服务器上安装客户端程序。客户端程序用于测试 Gitea 服务器与数据库之间的连接, 而 Gitea 本身使用 Go 提供的数据库驱动程序完成相同的任务。此外,请确保服务器和客户端使用相同的引擎版 本,以使某些引擎功能正常工作。出于安全原因,请使用安全密码保护 ON giteadb.* TO 'gitea'@'192.0.2.10'; 2. FLUSH PRIVILEGES; 6. 通过 exit 退出数据库控制台。 7. 在您的 Gitea 服务器上,测试与数据库的连接: 1. mysql -u gitea -h 203.0.113.3 -p giteadb 其中 gitea 是数据库用户名, giteadb 是数据库名称, 203.00 码力 | 303 页 | 3.88 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66-S 仅显示添加或删除内容匹配指定字符串的提交。 来看一个实际的例子,如果要在 Git 源码库中查看 Junio Hamano 在 2008 年 10 月其间, 除了合并提交之外的哪一个提交修改了测试文件,可以使用下面 的命令: $ git log --pretty="%h - %s" --author='Junio C Hamano' --since="2008-10-01" \ - 正在此时,你突然接到一个电话说有个很严重的问题需要紧急修补。 你将按 照如下方式来处理: 1. 切换到你的线上分支(production branch)。 2. 为这个紧急任务新建一个分支,并在其中修复它。 3. 在测试通过之后,切换回线上分支,然后合并这个修补分支,最后将改动 推送到线上分支。 4. 切换回你最初工作的分支上,继续工作。 新建分支 首先,我们假设你正在你的项目上工作,并且在 master 分支上已经有了一些 broken email address 1 file changed, 2 insertions(+) 图表 21. 基于 master 分支的紧急问题分支 hotfix branch 你可以运行你的测试,确保你的修改是正确的,然后将 hotfix 分支合并回你 的 master 分支来部署到线上。 你可以使用 git merge 命令来达到上述目的: $ git checkout master0 码力 | 670 页 | 13.59 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66-S 仅显示添加或删除内容匹配指定字符串的提交。 来看一个实际的例子,如果要在 Git 源码库中查看 Junio Hamano 在 2008 年 10 月其间, 除了合并提交之外的 哪一个提交修改了测试文件,可以使用下面的命令: 49 $ git log --pretty="%h - %s" --author='Junio C Hamano' --since="2008-10 -01" \ 正在此时,你突然接到一个电话说有个很严重的问题需要紧急修补。 你将按照如下方式来处理: 1. 切换到你的线上分支(production branch)。 2. 为这个紧急任务新建一个分支,并在其中修复它。 3. 在测试通过之后,切换回线上分支,然后合并这个修补分支,最后将改动推送到线上分支。 4. 切换回你最初工作的分支上,继续工作。 新建分支 首先,我们假设你正在你的项目上工作,并且在 master 分支上已经有了一些提交。 broken email address 1 file changed, 2 insertions(+) 图表 21. 基于 master 分支的紧急问题分支 hotfix branch 你可以运行你的测试,确保你的修改是正确的,然后将 hotfix 分支合并回你的 master 分支来部署到线上。 你可以使用 git merge 命令来达到上述目的: 74 $ git checkout master0 码力 | 501 页 | 19.30 MB | 1 年前3
git 操作手册SSL verifica�on 根 据 目 标 webhook 而 定 , 如 果 Webhook URL 不 是 h�ps 则 不 勾 选“Enable SSL verifica�on” 保存后: 可以测试一下: 此操作会触发webhook监听侧的动作(比如ansible-awx自动执行相应的job template): ★重置root用户密码 安装完gitlab-ce后,初始管理密码保存在0 码力 | 35 页 | 1.69 MB | 1 年前3
Pro Git 2nd Edition 2.1.413is visible to anyone. Note that this controls both git fetch access as well as access to the web UI for that project. Hooks GitLab includes support for hooks, both at a project or system level. For the repository, you can simply do this: $ git clone https://server/namespace/project.git The web UI provides access to several useful views of the repository itself. Each project’s home page shows recent you can safely skip to Git Tools. It’s important to note that like many active websites, the UI elements in these screenshots are bound to change over time. Hopefully the general idea of what we’re0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413project is visible to anyone. Note that this controls both git fetch access as well as access to the web UI for that project. Hooks GitLab includes support for hooks, both at a project or system level. For the repository, you can simply do this: $ git clone https://server/namespace/project.git The web UI provides access to several useful views of the repository itself. Each project’s home page shows recent skip to Git Tools. Interfaces Change It’s important to note that like many active websites, the UI elements in these screenshots are bound to change over time. Hopefully the general idea of what we’re0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 is visible to anyone. Note that this controls both git fetch access as well as access to the web UI for that project. Hooks GitLab includes support for hooks, both at a project or system level. For the repository, you can simply do this: $ git clone https://server/namespace/project.git The web UI provides access to several useful views of the repository itself. Each project’s home page shows recent you can safely skip to Git Tools. It’s important to note that like many active websites, the UI elements in these screenshots are bound to change over time. Hopefully the general idea of what we’re0 码力 | 691 页 | 13.35 MB | 1 年前3
共 7 条
- 1













