git 操作手册## git 操作手册 ## 前言: 1. 蓝色字体表示命令行命令,正式执行时不要复制前面的#号,#号只是提示应该使用root权限操作 2. 绿色字体表示注释,有时注释太多就不用绿色表示了 3. 注意:本文档的所有操作请先在测环境进行实践,请不要直接在真实的服务器中操作! ## 版权声明: 本文档以开源的形式发布,所有条款如下: 1. 无担保:作者不保证文档内容的准确无误,亦不承担由于使用此文档所导致的任何后果 个条款。 作者:李茂福 更新日期:2024-01-11 ## ★git 命令操作 Git 是一个开源的分布式版本控制系统,可以高效地处理从很小到非常大的项目版本管理。 ## ★git 命令行客户端安装及设置 # yum install git -y #自带光盘里有 # git --version #查看 git 软件版本 git version 2.39.1 ## ★全局设置 设置用户名和邮箱,只用于提交 #全局设置信息保存在~/.gitconfig文件里 # git config --global user.name cof #设置用户名 # git config --global user.email cof@cof-lee.com # 设置邮箱 # git config --global http.sslVerify false #不验证 ssl 证书 # git config --global --list0 码力 | 35 页 | 1.69 MB | 2 年前3
Pro Git 2nd Edition 2.1.413## Pro Git EVERYTHING YOU NEED TO KNOW ABOUT GIT Scott Chacon and Ben Straub …… ## TABLE OF CONTENTS License Preface by Scott Chacon Preface by Ben Straub Dedications Contributors Introduction History of Git What is Git? 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 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 Initializing a0 码力 | 731 页 | 21.49 MB | 2 年前3
Pro Git 2nd Edition 2.1.413## Pro Git Scott Chacon and Ben Straub EVERYTHING YOU NEED TO KNOW ABOUT GIT Pro Git Scott Chacon, Ben Straub Version 2.1.413, 2023-12-22 ## Table of Contents License ..... 1 Preface by Scott Chacon Short History of Git ..... 14 What is Git? ..... 14 The Command Line ..... 18 Installing Git ..... 18 First-Time Git Setup ..... 21 Getting Help ..... 24 Summary ..... 25 Git Basics ..... 26 Getting a Git Repository ..... 26 Recording Changes to the Repository ..... 28 Viewing the Commit History ..... 40 Undoing Things ..... 46 Working with Remotes ..... 50 Tagging ..... 55 Git Aliases0 码力 | 501 页 | 17.96 MB | 2 年前3
Pro Git 2nd Edition 2.1.413## Pro Git EVERYTHING YOU NEED TO KNOW ABOUT GIT Scott Chacon and Ben Straub …… ## Pro Git Scott Chacon and Ben Straub EVERYTHING YOU NEED TO KNOW ABOUT GIT ## TABLE OF CONTENTS License Preface History of Git What is Git? 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 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 Initializing a0 码力 | 691 页 | 13.35 MB | 2 年前3
Git Plugin Detailed coverage analysis (JENKINS 50535)0 码力 | 2 页 | 46.93 KB | 2 年前3
Pro Git 中文版 第2版 2.1.66## Pro Git EVERYTHING YOU NEED TO KNOW ABOUT GIT Scott Chacon and Ben Straub …… ## Pro Git Scott Chacon and Ben Straub EVERYTHING YOU NEED TO KNOW ABOUT GIT ## 目录 许可证 Scott Chacon 序 Ben Git 简史 Git 是什么? 直接记录快照,而非差异比较 近乎所有操作都是本地执行 Git 保证完整性 Git 一般只添加数据 三种状态 命令行 安装 Git 在 Linux 上安装 在 macOS 上安装 在 Windows 上安装 从源代码安装 初次运行 Git 前的配置 前的配置 用户信息 文本编辑器 检查配置信息 获取帮助 总结 Git 基础 获取 Git 仓库 在已存在目录中初始化仓库 克隆现有的仓库 记录每次更新到仓库 检查当前文件状态 跟踪新文件 暂存已修改的文件 状态简览 忽略文件 查看已暂存和未暂存的修改0 码力 | 670 页 | 13.59 MB | 2 年前3
Pro Git 中文版 第2版 2.1.66## Pro Git EVERYTHING YOU NEED TO KNOW ABOUT GIT Scott Chacon and Ben Straub --- Apress® ## 目录 许可证 ...1 Scott Chacon 序 ...2 Ben Straub 序 ...3 献辞 ...4 贡献者 ...5 引言 ...12 起步 ...14 关于版本控制 ...14 Git 简史 ...18 Git 是什么? ...18 命令行 ...21 安装 Git ...22 初次运行 Git 前的配置 ...25 获取帮助 ...27 总结 ...28 Git 基础 ...29 获取 Git 仓库 ...29 记录每次更新到仓库 ...30 查看提交历史 打标签 ...57 Git 别名 ...62 总结 ...64 Git 分支 ...65 分支简介 ...65 分支的新建与合并 ...72 分支管理 ...80 分支开发工作流 ...82 远程分支 ...85 变基 ...94 总结 ...103 服务器上的 Git ...104 协议 .0 码力 | 501 页 | 19.30 MB | 2 年前3
C++高性能并行编程与优化 - 课件 - 性能优化之无分支编程 Branchless Programming # 性能优化之无分支编程  Branchless Programming by jpg) 图表比较:分支 vs 无分支  - 传统的分支方法实现的 uppercase,对于排序过的数据明显比乱序时高效。 - 无分支的方法对于乱序和有序的数据一样高效,性能吊打了传统的分支方法。 - 对于传统分支的做法,为什么排序了 对于传统分支的做法,为什么排序了的更高效?既然无分支更高效,我要怎样优化才能让我的程序变成无分支的呢?那就来看本期性能优化专题课吧! ## 分支预测成败对性能的影响 ||Nanoseconds (ns)|Microseconds (μs)|Milliseconds (ms)|If L1 Access is 1 second| |---|---|---|---|---| |L1 Cache Reference|0.5|||1 sec|0 码力 | 47 页 | 8.45 MB | 2 年前3
optimus logger Config [Jenkins]Description Docker build optimum logger on git changes Changes Workspace Build Now [Raw HTML] Preview ✓ Discard Old Builds Configure Strategy Git Polling Log Log Rotation Build History Days 9c45b3791ebdbcf39/p1_1.jpg) CVS CVS Projectset ☑ Git Repositories Repository URI http://git.bluejeansnet.com/pchaturvedi/optimus-logger.git Credentials - none - Add Advanced... Add Repository (blank for 'any') */master Add Branch Delete Branch ## optimus-logger Config [Jenkins] Git executable Repository browser Default (Auto)  stored and versioned in Git, and by taking advantage of declarative configurations in Kubernetes. ## Cloud-Native DevOps So if The canonical example of the “versioned and immutable” principle is Git, which is why it’s the first element in the term GitOps. Git’s store is versioned and immutable because each change is tracked in0 码力 | 45 页 | 1.09 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
git命令行客户端版本控制系统分支标签GitGitHub分支模型内部命令commitbranchmergeremotePro2ndEdition2.1413GitSCMSubmoduleCombinatorCoverage AnalysisdoCheckCredentialsIdreadResolve版本控制Git分支命令行远程仓库配置分布式版本控制工作流仓库管理无分支编程分支预测性能优化三目运算符查表法JenkinsDockerBuild TriggerEmail NotificationGitOpsOpenGitOps PrinciplesKubernetesDeclarative Infrastructure













