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
OpenShift Container Platform 3.11 CLI 参考Container Platform 3.11 CLI 参考 参考 2 7.3. 安装插件 7.3.1. Plug-in Loader 7.3.1.1. 搜索顺序 7.4. 编写插件 7.4.1. plugin.yaml Descriptor 7.4.2. 建议的目录结构 7.4.3. 访问运行时属性 37 38 38 38 39 39 40 目 目录 录 3 OpenShift Container 交互。本主题指导您完成 CLI 入门,包括安装并登录以创建您的第一个项目。 2.2. 先决条件 某些操作要求在客户端上本地安装 Git。例如,命令使用远程 Git 存储库创建应用程序: 在继续之前,请先在工作站上安装 Git。如需了解工作站操作系统的说明,请参阅官方 Git 文档。 2.3. 安装 CLI 如果集群管理员启用了下载链接,则下载 CLI 的最简单方法是访问 web 控制台中的 About login 行 末尾的 copy to clipboard 按钮,然后粘贴复制的内容以显示令牌。 $ oc new-app https://github.com// git_repo> OpenShift Container Platform 3.11 CLI 参考 参考 6 2.3.1. 对于 Windows Windows 的 CLI 以 zip 存档形式提供,您 0 码力 | 45 页 | 737.95 KB | 1 年前3
Apache ShardingSphere v5.5.0 document. . . . 583 13.6.5 Other In Windows environment,when cloning ShardingSphere source code through Git, why prompt filename too long and how to solve it? . . . . . . . . . 584 13.6.6 Other How to solve to speed up the metadata loading when service starts up? . . . . . . 585 13.6.8 Other The ANTLR plugin generates codes in the same level directory as src, which is easy to commit by mistake. How to avoid with flexibility thanks to custom systems based on multi‐level (kernel, feature, and ecosystem) plugin capabilities. 1.3. Advantages 3 2 Design Philosophy ShardingSphere adopts the database plus design0 码力 | 602 页 | 3.85 MB | 1 年前3
OpenShift Container Platform 4.8 CLI 工具tab 自 自动 动完成功能 完成功能 安装 OpenShift CLI (oc)后,您可以启用 tab 自动完成功能,以便在按 Tab 键时自动完成 oc 命令或建议 https://git.k8s.io/community/contributors/devel/api-conventions.md#resources ... $ oc logout Logged "user1" CLI 工具 工具 20 为 OpenShift Container Platform CLI 安装此插件后,可以使用 oc foo 命令调用。 其他 其他资 资源 源 查看 Sample plugin 存储库,以了解使用 Go 编写的插件示例。 查看 CLI 运行时存储库 以获取一组工具,以帮助在 Go 中编写插件。 2.4.2. 安装和使用 CLI 插件 为 OpenShift Container kubectl- 开头的 CLI 插件文件。 流程 流程 1. 如有必要,将插件文件更新为可执行。 2. 将文件放在PATH中的任何位置,例如/usr/local/bin/ 。 3. 运行 oc plugin list 以确保列出了插件。 输 输出示例 出示例 #!/bin/bash # optional argument handling if [[ "$1" == "version" ]]0 码力 | 152 页 | 1.24 MB | 1 年前3
OpenShift Container Platform 4.13 CLI 工具schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources ... $ oc logout Logged "user1" CLI (OC) 23 为 OpenShift Container Platform CLI 安装此插件后,可以使用 oc foo 命令调用。 其他 其他资 资源 源 查看 Sample plugin 存储库,以了解使用 Go 编写的插件示例。 查看 CLI 运行时存储库 以获取一组工具,以帮助在 Go 中编写插件。 2.5.2. 安装和使用 CLI 插件 为 OpenShift Container kubectl- 开头的 CLI 插件文件。 流程 流程 1. 如有必要,将插件文件更新为可执行。 2. 将文件放在PATH中的任何位置,例如/usr/local/bin/ 。 3. 运行 oc plugin list 以确保列出了插件。 输 输出示例 出示例 如果您的插件没有被列出,请验证文件是否以 oc- 或 kubectl- 开头,是否可执行,且位于 PATH 中。 4. 调用插件引入的新命令或选项。0 码力 | 128 页 | 1.11 MB | 1 年前3
Kotlin 1.9.10 官方文档 中文版
the box. The version of these libraries is the same as the version of the kotlin-multiplatform plugin. Kotlin/Wasm has an experimental support for other Kotlin libraries. Read more how to enable them 性研究提供了方便的工具。 Kotlin 与这些工具集成在一起,可以帮助探索数 据、与同事共享发现或建立数据科学和机器学习技能。 Kotlin Notebook The Kotlin Notebook is a plugin for IntelliJ IDEA that allows you to create notebooks in Kotlin. It leverages the Kotlin kernel Hedgehog (231)* *The Kotlin 1.9.0 plugin will be included with Android Studio Giraffe (223) and Hedgehog (231) in their upcoming releases. The Kotlin 1.9.0 plugin will be included with IntelliJ IDEA0 码力 | 3753 页 | 29.69 MB | 1 年前3
Kotlin 官方文档中文版 v1.9the box. The version of these libraries is the same as the version of the kotlin-multiplatform plugin. Kotlin/Wasm has an experimental support for other Kotlin libraries. Read more how to enable them 便的工具。 Kotlin 与这些工具集成在一起,可以帮助探索数据、与同事共享发现或建立数据 科学和机器学习技能。 Kotlin Notebook The Kotlin Notebook is a plugin for IntelliJ IDEA that allows you to create notebooks in Kotlin. It leverages the Kotlin kernel Hedgehog (231)* *The Kotlin 1.9.0 plugin will be included with Android Studio Giraffe (223) and Hedgehog (231) in their upcoming releases. The Kotlin 1.9.0 plugin will be included with IntelliJ IDEA0 码力 | 2049 页 | 45.06 MB | 1 年前3
2019-2021 美团技术年货 前端篇Flutter 包大小治理上的探索与实践 297 美团外卖持续交付的前世今生 326 微前端在美团外卖的实践 352 积木 Sketch 插件进阶开发指南 372 积木 Sketch Plugin:设计同学的贴心搭档 400 Native 地图与 Web 融合技术的应用与实践 431 目录 前端 | 2019 446 MTFlexbox 自动化埋点探索 447 Litho 如:请求库、路由库、埋点库等 ),要重新在 Flutter 中 用 Dart 搭建一套,时间成本、兼容性、风险等都是不可控的。而 MTFlutter 是基于 原有 Native 基础依赖开发的 Plugin,因此并不支持 Web 端。此章节将展开介绍如 何丝滑无感地扩展 MTFlutter 基础依赖在 Web 端的实现。 4.1.1 Flutter Package 分平台编程 在 Flutter Package,其中一些可能包含依赖于 Flutter 框架的特定功能,其使用范围仅限于 Flutter,例如 path。 ● Plugin Package:用 Dart 编写 API 多个平台各自实现的特殊 Dart Pack- age。Plugin Package 可以为 Android(使用 Kotlin 或 Java)、iOS(使用 Swift 或 Objective-C)、Web、macOS、Windows0 码力 | 738 页 | 50.29 MB | 1 年前3
共 530 条
- 1
- 2
- 3
- 4
- 5
- 6
- 53













