Gitea v1.21.1 中文文档Safari and Edge Firefox ESR Web框架: Chi ORM: XORM UI 框架: jQuery Fomantic UI Vue3 更多组件参见 package.json 编辑器: CodeMirror EasyMDE Monaco Editor 数据库驱动: github.com/go-sql-driver/mysql github.com/lib/pq --home-dir /home/git \ 19. --create-home \ 20. git 1. mkdir -p /var/lib/gitea/{custom,data,log} 2. chown -R git:git /var/lib/gitea/ 3. chmod -R 750 /var/lib/gitea/ 4. mkdir /etc/gitea 5 RUN_USER = USER-PC$ 。 如果您使用 SQLite3,请将 PATH 更改为包含完整路径: 1. [database] 2. PATH = c:/gitea/data/gitea.db 要注册为Windows服务,首先以Administrator身份运行 cmd ,然后执行以下命令: 1. sc.exe create gitea start= auto0 码力 | 303 页 | 3.88 MB | 1 年前3
Pro Git 2nd Edition 2.1.413Snapshots, Not Differences Nearly Every Operation Is Local Git Has Integrity Git Generally Only Adds Data The Three States The Command Line Installing Git Installing on Linux Installing on macOS Installing Protocols The Dumb Protocol The Smart Protocol Protocols Summary Maintenance and Data Recovery Maintenance Data Recovery Removing Objects Environment Variables Global Behavior Repository Locations can be copied back up to the server to restore it. Every clone is really a full backup of all the data. Figure 3. Distributed version control diagram Furthermore, many of these systems deal pretty well0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 Snapshots, Not Differences Nearly Every Operation Is Local Git Has Integrity Git Generally Only Adds Data The Three States The Command Line Installing Git Installing on Linux Installing on macOS Installing Protocols The Dumb Protocol The Smart Protocol Protocols Summary Maintenance and Data Recovery Maintenance Data Recovery Removing Objects Environment Variables Global Behavior Repository Locations can be copied back up to the server to restore it. Every clone is really a full backup of all the data. Figure 3. Distributed version control diagram Furthermore, many of these systems deal pretty well0 码力 | 691 页 | 13.35 MB | 1 年前3
Pro Git 2nd Edition 2.1.413. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435 Maintenance and Data Recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . can be copied back up to the server to restore it. Every clone is really a full backup of all the data. 12 Figure 3. Distributed version control diagram Furthermore, many of these systems deal pretty • Fully distributed • Able to handle large projects like the Linux kernel efficiently (speed and data size) Since its birth in 2005, Git has evolved and matured to be easy to use and yet retain these0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66Windows 上使用 Git 2.x 以后的版本,那么还有一个系统级的配置文件,Windows XP 上在 C:\Documents and Settings\All Users\Application Data\Git\config ,Windows Vista 及其以 后的版本在 C:\ProgramData\Git\config 。此文件只能以管理员权限通过 git config -f99ada87... Merge pull request #89 from schacon/appendix-final HEAD is now at df3f601... add atlas.json and cover image 在“分离头指针”状态下,如果你做了某些更改然后提交它们,标签不会发生变化, 但你的新提交将不属于任 何分支,并且将无法访问,除非通过确切的提交哈希才能访问。 因此,如果你需要进行更改,比如你要修复旧 模块, 这些模块都是使该功能正常工作所必须 的。 你还需要将 /srv/git 的 Unix 用户组设置为 www-data,这样 Web 服务器才能读写该仓库, 因为运行 CGI 脚 本的 Apache 实例默认会以该用户的权限运行: $ chgrp -R www-data /srv/git 接下来我们要向 Apache 配置文件添加一些内容,来让 git-http-backend 作为 Web 0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66上使用 Git 2.x 以后的版本,那么还有一个系统级的配置文件, Windows XP 上 在 C:\Documents and Settings\All Users\Application Data\Git\config , Windows Vista 及 其 以 后 的 版 本 在 C:\ProgramData\Git\config 。此文件只能以管理员权限通过 git config 99ada87... Merge pull request #89 from schacon/appendix- final HEAD is now at df3f601... add atlas.json and cover image 在“分离头指针”状态下,如果你做了某些更改然后提交它们,标签不会发生变 化, 但你的新提交将不属于任何分支,并且将无法访问,除非通过确切的提 交哈希才能访问。 模块, 这些模块 都是使该功能正常工作所必须的。 你还需要将 /srv/git 的 Unix 用户组设置为 www-data,这样 Web 服务器才 能读写该仓库, 因为运行 CGI 脚本的 Apache 实例默认会以该用户的权限运 行: $ chgrp -R www-data /srv/git 接下来我们要向 Apache 配置文件添加一些内容,来让 git-http-backend 作0 码力 | 670 页 | 13.59 MB | 1 年前3
git 操作手册'h�ps://gitlab.cof-lee.com' #设置数据存放路径,默认 /var/opt/gitlab/git-data/repositories git_data_dirs({ "default" => { "path" => "/git-data" } }) #设置备份存放路径及备份默认保存时间,默认 /var/opt/gitlab/backups/ gitlab cof-lee.com.crt" nginx['ssl_cer�ficate_key'] = "/etc/gitlab/gitlab.cof-lee.com.key" EOF # mkdir /git-data # mkdir /git-backup #将证书及密钥文件复制到/etc/gitlab目录下 # gitlab-ctl reconfigure #重 tail -f /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/gitla0 码力 | 35 页 | 1.69 MB | 1 年前3
共 7 条
- 1













