Gitea v1.21.1 中文文档构建 Gitea 是一个轻量级的 DevOps 平台软件。从开发计划到产品成型的整个软件生命周期,他都能够高效而轻松的帮 助团队和开发者。包括 Git 托管、代码审查、团队协作、软件包注册和 CI/CD。它与 GitHub、Bitbucket 和 GitLab 等比较类似。 Gitea 最初是从 Gogs 分支而来,几乎所有代码都已更改。对于我们Fork的原因可以看 这里。 Gitea的首 AGit workflow。评审⼈可以在线浏览代 码,并提交评审意见或问题。 提交者可以接收到评审意见,并在线回 复或修改代码。代码评审可以帮助用户 和企业提⾼代码质量。 CI/CD: Gitea Actions⽀持 CI/CD 功能,该功能兼容 GitHub Actions,⽤⼾可以采用熟悉的YAML格 式编写workflows,也可以重⽤⼤量的已有的 Actions 插件。Actions 插件支持从任意的 ✓ ✓ ✓ ✓ ✓ (cloud only) ✘ 部署令牌 ✓ ✓ ✓ ✓ ✓ ✓ ✓ 仓库写权限令牌 ✓ ✘ ✓ ✓ ✓ ✓ ✓ RSS Feeds ✓ ✘ ✓ ✘ ✘ ✘ ✘ 内置 CI/CD ✓ ✘ ✓ ✓ ✓ ✘ ✘ 子组织:组织内的组 织 ✘ ✘ ✘ ✓ ✓ ✘ ✓ 多实例交互 / ✘ ✘ ✘ ✘ ✘ ✘ Markdown绘图 ✓ ✘ ✓ ✓ ✓ ✘ ✘ Markdown数学公式0 码力 | 303 页 | 3.88 MB | 1 年前3
Pro Git 2nd Edition 2.1.413directory structure in Git. A SHA-1 hash looks something like this: 24b9da6552252987aa493b52f8696cd6d3b00373 You will see these hash values all over the place in Git because it uses them so much. In signatures if you want to verify your download. Then, compile and install: $ tar -zxf git-2.8.0.tar.gz $ cd git-2.8.0 $ make configure $ ./configure --prefix=/usr $ make all doc info $ sudo make install install-doc depending on which system you’re running: for Linux: $ cd /home/user/my_project for macOS: $ cd /Users/user/my_project for Windows: $ cd C:/Users/user/my_project and type: $ git init This creates0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413or directory structure in Git. A SHA-1 hash looks something like this: 24b9da6552252987aa493b52f8696cd6d3b00373 You will see these hash values all over the place in Git because it uses them so much. In signatures if you want to verify your download. Then, compile and install: $ tar -zxf git-2.8.0.tar.gz $ cd git-2.8.0 $ make configure $ ./configure --prefix=/usr $ make all doc info $ sudo make install install-doc depending on which system you’re running: for Linux: $ cd /home/user/my_project for macOS: $ cd /Users/user/my_project for Windows: $ cd C:/Users/user/my_project and type: $ git init This creates0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 directory structure in Git. A SHA-1 hash looks something like this: 24b9da6552252987aa493b52f8696cd6d3b00373 You will see these hash values all over the place in Git because it uses them so much. In signatures if you want to verify your download. Then, compile and install: $ tar -zxf git-2.8.0.tar.gz $ cd git-2.8.0 $ make configure $ ./configure --prefix=/usr $ make all doc info $ sudo make install install-doc depending on which system you’re running: for Linux: $ cd /home/user/my_project for macOS: $ cd /Users/user/my_project for Windows: $ cd C:/Users/user/my_project and type: $ git init This creates0 码力 | 691 页 | 13.35 MB | 1 年前3
Pro Git 中文版 第2版 2.1.6640 个十六进制字符(0-9 和 a-f)组 成的字符串,基于 Git 中文件的内容或目录结构计算出来。 SHA-1 哈希看起来是这样: 24b9da6552252987aa493b52f8696cd6d3b00373 Git 中使用这种哈希值的情况很多,你将经常看到这种哈希值。 实际上,Git 数据库中保存的信息都是以文件内 容的哈希值来索引,而不是文件名。 Git 一般只添加数据 你执行的 GitHub 上的是最新版本,但 kernel.org 上包含有文件下载签 名,如果你想验证下载正确性的话会用到。 接着,编译并安装: 24 $ tar -zxf git-2.8.0.tar.gz $ cd git-2.8.0 $ make configure $ ./configure --prefix=/usr $ make all doc info $ sudo make install install-doc 来控制它,那么首先需要进入该项目目录中。 如果你还 没这样做过,那么不同系统上的做法有些不同: 在 Linux 上: $ cd /home/user/my_project 在 macOS 上: $ cd /Users/user/my_project 在 Windows 上: $ cd /c/user/my_project 之后执行: $ git init 该命令将创建一个名为 .git 的子目录,这个子目录含有你初始化的0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.6640 个十六进制字符(0-9 和 a-f)组成的字符串,基于 Git 中文件的内容或目录结 构计算出来。 SHA-1 哈希看起来是这样: 24b9da6552252987aa493b52f8696cd6d3b00373 Git 中使用这种哈希值的情况很多,你将经常看到这种哈希值。 实际上,Git 数据库中保存的信息都是以文件内容的哈希值来索引,而不是文件名。 Git 一般只添加数据 你执行的 GitHub 上 的是最新版本,但 kernel.org 上包含有文件下载签名,如果你想验证下载正 确性的话会用到。 接着,编译并安装: $ tar -zxf git-2.8.0.tar.gz $ cd git-2.8.0 $ make configure $ ./configure --prefix=/usr $ make all doc info $ sudo make install install-doc 来控制它,那么首先 需要进入该项目目录中。 如果你还没这样做过,那么不同系统上的做法有些 不同: 在 Linux 上: $ cd /home/user/my_project 在 macOS 上: $ cd /Users/user/my_project 在 Windows 上: $ cd /c/user/my_project 之后执行: $ git init 该命令将创建一个名为 .git 的子目录,这个子目录含有你初始化的0 码力 | 670 页 | 13.59 MB | 1 年前3
git 操作手册#查看全局设置 ★本地设置 针 对 单 一 项 目 的 设 置 , 使 用 --local 参 数 , 本 地 设 置 信 息 保 存 在 项 目 目 录/.git/config文件里 # cd 项目目录 # git init #初始化仓库,将在当前路径下生成.git子目录,子目录里有 此git仓库的相关信息 # git config --local 0以前的默认配置项是matching) matching 推送本地和远程都存在的同名分支 ★仓库操作 # mkdir ~/testgit #创建项目目录 # cd ~/testgit # git init #初始化仓库,将在当前路径下生成.git子目录,子目录里 有此git仓库的相关信息,初始化后要设置当前工作的用户名等相关信息,否则 h�ps://gitlab.cof-lee.com/cof/pro-1.git #克隆远程仓库到本地,默认 克隆的是远程的默认分支,本例中远程仓库默认分支为main(克隆后会自动在 当前目录下生成项目目录) # cd pro-1/ #进入克隆后的项目目录 # git remote -v #直接克隆的话,默认将远程仓库映射到本地,别0 码力 | 35 页 | 1.69 MB | 1 年前3
共 7 条
- 1













