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 Installing on Windows Installing from Source First-Time Git Setup Your Identity Your Editor Your default branch name Checking Your Settings Getting Help Summary Git Basics Getting a Git Repository Protocols The Dumb Protocol The Smart Protocol Protocols Summary Maintenance and Data Recovery Maintenance Data Recovery Removing Objects Environment Variables Global Behavior Repository Locations0 码力 | 691 页 | 13.35 MB | 1 年前3Pro 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 Installing on Windows Installing from Source First-Time Git Setup Your Identity Your Editor Your default branch name Checking Your Settings Getting Help Summary Git Basics Getting a Git Repository Protocols The Dumb Protocol The Smart Protocol Protocols Summary Maintenance and Data Recovery Maintenance Data Recovery Removing Objects Environment Variables Global Behavior Repository Locations0 码力 | 731 页 | 21.49 MB | 1 年前3Pro Git 2nd Edition 2.1.413
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435 Maintenance and Data Recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . for you. If you’re interested in an overview of using Git in your shell, your IDE, or your text editor, take a look here. In Appendix B, we explore scripting and extending Git through tools like libgit2 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 pretty0 码力 | 501 页 | 17.96 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需要你输入信息时会调用它。 如果未配 置,Git 会使用操作系统默认的文本编辑器。 如果你想使用不同的文本编辑器,例如 Emacs,可以这样做: $ git config --global core.editor emacs 在 Windows 系统上,如果你想要使用别的文本编辑器,那么必须指定可执行文件的完整路径。 它可能随你的编 辑器的打包方式而不同。 对于 Notepad++,一个流行的代码编辑器来说,你可能想要使用 尚不支持所有的插件。 如果你在使用 32 位的 Windows 系统,或在 64 位系统上使用 64 位的编辑器,那么你需 要输入如下命令: $ git config --global core.editor "'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin" Vim、Emacs 0 码力 | 501 页 | 19.30 MB | 1 年前3Pro Git 中文版 第2版 2.1.66
拓展阅读 go-git 高级功能 延伸阅读 Dulwich Further Reading 附录 C: Git 命令 设置与配置 git config git config core.editor 命令 git help 获取与创建项目 git init git clone 快照基础 git add git status git diff git difftool git 上使用 Git 2.x 以后的版本,那么还有一个系统级的配置文件, Windows XP 上 在 C:\Documents and Settings\All Users\Application Data\Git\config , Windows Vista 及 其 以 后 的 版 本 在 C:\ProgramData\Git\config 。此文件只能以管理员权限通过 git config 入信息时会调用它。 如果未配置,Git 会使用操作系统默认的文本编辑器。 如果你想使用不同的文本编辑器,例如 Emacs,可以这样做: $ git config --global core.editor emacs 在 Windows 系统上,如果你想要使用别的文本编辑器,那么必须指定可执行 文件的完整路径。 它可能随你的编辑器的打包方式而不同。 对于 Notepad++,一个流行的代码编辑器来说,你可能想要使用0 码力 | 670 页 | 13.59 MB | 1 年前3Gitea v1.21.1 中文文档
ORM: XORM UI 框架: jQuery Fomantic UI Vue3 更多组件参见 package.json 编辑器: CodeMirror EasyMDE Monaco Editor 数据库驱动: github.com/go-sql-driver/mysql github.com/lib/pq github.com/mattn/go-sqlite3 github. --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 年前3git 操作手册
'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 #重0 码力 | 35 页 | 1.69 MB | 1 年前3
共 7 条
- 1