git 操作手册git操作手册 前言: 1.蓝色字体表示命令行命令,正式执行时不要复制前面的#号,#号只是提示应 该使用root权限操作 2.绿色字体表示注释,有时注释太多就不用绿色表示了 3.注意:本文档的所有操作请先在测环境进行实践,请不要直接在真实的服务 器中操作! 版权声明: 本文档以开源的形式发布,所有条款如下: 1. 无担保:作者不保证文档内容的准确无误,亦不承担由于使用此文档所导致的任何后果 ★git命令操作 Git是一个开源的分布式版本控制系统,可以高效地处理从很小到非常大的项目 版本管理。 ★git命令行客户端安装及设置 # yum install git -y #自带光盘里有 # git --version #查看git软件版本 git version #全局设置信息保存在 ~/.gitconfig 文件里 # git config --global user.name cof #设置用户名 # git config --global user.email cof@cof-lee.com #设置邮箱 # git config --global h�p.sslVerify0 码力 | 35 页 | 1.69 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66Pro Git Scott Chacon, Ben Straub 版本 2.1.65-3-ga7baa05f, 2023-12-28 目录 许可证 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Git 简史 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Git 是什么? . 21 安装 Git . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 初次运行 Git 前的配置.0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66分布式版本控制系统 Git 简史 Git 是什么? 直接记录快照,而非差异比较 近乎所有操作都是本地执行 Git 保证完整性 Git 一般只添加数据 三种状态 命令行 安装 Git 在 Linux 上安装 在 macOS 上安装 在 Windows 上安装 从源代码安装 初次运行 Git 前的配置 用户信息 文本编辑器 检查配置信息 获取帮助 总结 Git 基础 获取 获取 Git 仓库 在已存在目录中初始化仓库 克隆现有的仓库 记录每次更新到仓库 检查当前文件状态 跟踪新文件 暂存已修改的文件 状态简览 忽略文件 查看已暂存和未暂存的修改 提交更新 跳过使用暂存区域 移除文件 移动文件 查看提交历史 限制输出长度 撤消操作 取消暂存的文件 撤消对文件的修改 远程仓库的使用 查看远程仓库 添加远程仓库 从远程仓库中抓取与拉取 检出标签 Git 别名 总结 Git 分支 分支简介 分支创建 分支切换 分支的新建与合并 新建分支 分支的合并 遇到冲突时的分支合并 分支管理 分支开发工作流 长期分支 主题分支 远程分支 推送 跟踪分支 拉取 删除远程分支 变基 变基的基本操作 更有趣的变基例子 变基的风险 用变基解决变基 变基 vs. 合并 总结 服务器上的 Git 协议0 码力 | 670 页 | 13.59 MB | 1 年前3
Weblate 4.2.2 用户文档Weblate internals Weblate frontend Reporting issues in Weblate Weblate testsuite and continuous integration Data schemas Releasing Weblate 关于 Weblate 许可协议 Change history Weblate 4.2.2 Weblate 密钥 Weblate simply fetch the underlying repository (either from filesystem or it can be made available through Git exporter). Prior to this, you might want to commit any pending changes (see 惰性提交). This can be achieved ),并用翻译 替代其文本。 从配置的 cookie 检测到用户语言,并退回到在浏览器中配置的用户首选语 言。 The Language cookie name can be useful for integration with other applications (for example choose django_language when using Django). JavaScript本地化0 码力 | 650 页 | 9.34 MB | 1 年前3
Weblate 4.2 用户文档Weblate internals Weblate frontend Reporting issues in Weblate Weblate testsuite and continuous integration Data schemas Releasing Weblate 关于 Weblate 许可协议 Change history Weblate 4.2 Weblate 4.1.1 Weblate simply fetch the underlying repository (either from filesystem or it can be made available through Git exporter). Prior to this, you might want to commit any pending changes (see Lazy commits). This can ),并用翻译 替代其文本。 从配置的 cookie 检测到用户语言,并退回到在浏览器中配置的用户首选语 言。 The Language cookie name can be useful for integration with other applications (for example choose django_language when using Django). JavaScript本地化0 码力 | 648 页 | 9.34 MB | 1 年前3
Weblate 4.2.1 用户文档Weblate internals Weblate frontend Reporting issues in Weblate Weblate testsuite and continuous integration Data schemas Releasing Weblate 关于 Weblate 许可协议 Change history Weblate 密钥 Weblate 4.2 Weblate simply fetch the underlying repository (either from filesystem or it can be made available through Git exporter). Prior to this, you might want to commit any pending changes (see 惰性提交). This can be achieved ),并用翻译 替代其文本。 从配置的 cookie 检测到用户语言,并退回到在浏览器中配置的用户首选语 言。 The Language cookie name can be useful for integration with other applications (for example choose django_language when using Django). JavaScript本地化0 码力 | 650 页 | 9.34 MB | 1 年前3
Weblate 4.2 用户文档. . . . . . . . . . . . . . . . . . . . . . . . . . 352 3.8 Weblate testsuite and continuous integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352 3.9 Data schemas . . . . . . . simply fetch the underlying repository (either from filesystem or it can be made available through Git exporter). Prior to this, you might want to commit any pending changes (see Lazy commits). This can ),并用翻译替代其文本。 从配置的 cookie 检测到用户语言,并退回到在浏览器中配置的用户首选语言。 The Language cookie name can be useful for integration with other applications (for example choose django_language when using Django). JavaScript 本地化0 码力 | 410 页 | 4.56 MB | 1 年前3
Weblate 4.2.2 用户文档. . . . . . . . . . . . . . . . . . . . . . . . . . 353 3.8 Weblate testsuite and continuous integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353 3.9 Data schemas . . . . . . . simply fetch the underlying repository (either from filesystem or it can be made available through Git exporter). Prior to this, you might want to commit any pending changes (see 惰性提 交). This can be achieved ),并用翻译替代其文本。 从配置的 cookie 检测到用户语言,并退回到在浏览器中配置的用户首选语言。 The Language cookie name can be useful for integration with other applications (for example choose django_language when using Django). JavaScript 本地化0 码力 | 411 页 | 4.60 MB | 1 年前3
Weblate 4.2.1 用户文档. . . . . . . . . . . . . . . . . . . . . . . . . . 353 3.8 Weblate testsuite and continuous integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353 3.9 Data schemas . . . . . . . simply fetch the underlying repository (either from filesystem or it can be made available through Git exporter). Prior to this, you might want to commit any pending changes (see 惰性提 交). This can be achieved ),并用翻译替代其文本。 从配置的 cookie 检测到用户语言,并退回到在浏览器中配置的用户首选语言。 The Language cookie name can be useful for integration with other applications (for example choose django_language when using Django). JavaScript 本地化0 码力 | 411 页 | 4.60 MB | 1 年前3
Weblate 4.3 用户文档Weblate internals Weblate frontend Reporting issues in Weblate Weblate testsuite and continuous integration Data schemas Releasing Weblate 关于 Weblate 许可协议 Change history Weblate 4.3 Weblate 4.2.2 Weblate simply fetch the underlying repository (either from filesystem or it can be made available through Git exporter). Prior to this, you might want to commit any pending changes (see 惰性提交). This can be achieved ),并用翻译 替代其文本。 从配置的 cookie 检测到用户语言,并退回到在浏览器中配置的用户首选语 言。 The Language cookie name can be useful for integration with other applications (for example choose django_language when using Django). JavaScript本地化0 码力 | 667 页 | 9.36 MB | 1 年前3
共 526 条
- 1
- 2
- 3
- 4
- 5
- 6
- 53













