当前位置: 首页 > news >正文

git 主要命令

Main Porcelain Commands 主要命令
   add                  Add file contents to the index
                        将文件内容添加到索引中
   am                   Apply a series of patches from a mailbox
                        从邮箱应用一系列补丁
   archive              Create an archive of files from a named tree
                        归档从命名树创建文件归档
   bisect               Use binary search to find the commit that introduced a bug
                        使用二分查找引入错误的提交
   branch               List, create, or delete branches
                        列出、创建或删除分支
   bundle               Move objects and refs by archive
                        按存档移动对象和引用
   checkout             Switch branches or restore working tree files
                        切换分支或还原工作树文件
   cherry-pick          Apply the changes introduced by some existing commits
                        应用一些现有提交引入的更改
   citool               Graphical alternative to git-commit
                        git commit的图形化替代方案
   clean                Remove untracked files from the working tree
                        从工作树中删除未跟踪的文件
   clone                Clone a repository into a new directory
                        将存储库克隆到新目录中
   commit               Record changes to the repository
                        提交记录更改到存储库
   describe             Give an object a human readable name based on an available ref
                        根据可用的引用为对象命名
   diff                 Show changes between commits, commit and working tree, etc
                        显示提交、提交和工作树等之间的变化
   fetch                Download objects and refs from another repository
                        从另一个存储库获取下载对象和引用
   format-patch         Prepare patches for e-mail submission
                        为电子邮件提交准备补丁
   gc                   Cleanup unnecessary files and optimize the local repository
                        清理不必要的文件并优化本地存储库
   gitk                 The Git repository browser
                        Git仓库浏览器
   grep                 Print lines matching a pattern
                        打印与图案匹配的行
   gui                  A portable graphical interface to Git
                        Git的可移植图形界面
   init                 Create an empty Git repository or reinitialize an existing one
                        创建一个空的Git仓库或重新初始化一个现有的仓库
   log                  Show commit logs
                        显示提交日志
   merge                Join two or more development histories together
                        将两个或多个开发历史连接在一起
   mv                   Move or rename a file, a directory, or a symlink
                        移动或重命名文件、目录或符号链接
   notes                Add or inspect object notes
                        注释添加或检查对象注释
   pull                 Fetch from and integrate with another repository or a local branch
                        从另一个存储库或本地分支中提取Fetch并与之集成
   push                 Update remote refs along with associated objects
                        推送更新远程参照以及相关对象
   range-diff           Compare two commit ranges (e.g. two versions of a branch)
                        比较两个提交范围(例如,一个分支的两个版本)
   rebase               Reapply commits on top of another base tip
                        在另一个基本提示之上重新应用提交
   reset                Reset current HEAD to the specified state
                        重置将当前HEAD重置为指定状态
   restore              Restore working tree files
                        还原工作树文件
   revert               Revert some existing commits
                        还原一些现有提交
   rm                   Remove files from the working tree and from the index
                        从工作树和索引中删除文件
   shortlog             Summarize 'git log' output
                        总结“git log”输出
   show                 Show various types of objects
                        显示各种类型的对象
   sparse-checkout      Initialize and modify the sparse-checkout
                        初始化和修改稀疏签出
   stash                Stash the changes in a dirty working directory away
                        将更改存放在脏的工作目录中
   status               Show the working tree status
                        显示工作树状态
   submodule            Initialize, update or inspect submodules
                        子模块初始化、更新或检查子模块
   switch               Switch branches
                        交换分支
   tag                  Create, list, delete or verify a tag object signed with GPG
                        创建、列出、删除或验证用GPG签名的标记对象
   worktree             Manage multiple working trees
                        管理多棵工作树

相关文章:

  • 北京网站建设多少钱?
  • 辽宁网页制作哪家好_网站建设
  • 高端品牌网站建设_汉中网站制作
  • element的el-steps里的数据处理用switch 循环,处理的数据不要vue响应式的值
  • Leetcode 131.分割回文串 回溯 C++实现
  • Linux下qt程序缺少中文字库,中文显示为框框
  • 【Java设计模式】非循环访问者模式:简化对象交互
  • Git下载安装配置
  • Apache + Tomcat + ajp 协议配置
  • Android13禁用Settings里面的Force Stop 強制停止按钮
  • 浏览器精度问题
  • Vue3常见知识**MS【4】
  • 【案例56】安全设备导致请求被拦截
  • 【PGCCC】PostgreSQL线程池技术揭秘:从原理到实战应用
  • Broadcast Hash Join
  • 【RabbitMQ】快速上手
  • linux内核驱动:pca953xIO扩展芯片驱动总结
  • Swift concurrency 3 — 三种异步方式(@escaping closure, Combine, async/await)
  • “大数据应用场景”之隔壁老王(连载四)
  • 【MySQL经典案例分析】 Waiting for table metadata lock
  • Java知识点总结(JDBC-连接步骤及CRUD)
  • Shadow DOM 内部构造及如何构建独立组件
  • TypeScript迭代器
  • 不用申请服务号就可以开发微信支付/支付宝/QQ钱包支付!附:直接可用的代码+demo...
  • 创建一种深思熟虑的文化
  • 从0到1:PostCSS 插件开发最佳实践
  • 多线程 start 和 run 方法到底有什么区别?
  • 给新手的新浪微博 SDK 集成教程【一】
  • 关于 Linux 进程的 UID、EUID、GID 和 EGID
  • 欢迎参加第二届中国游戏开发者大会
  • 嵌入式文件系统
  • 硬币翻转问题,区间操作
  • 职业生涯 一个六年开发经验的女程序员的心声。
  • 3月27日云栖精选夜读 | 从 “城市大脑”实践,瞭望未来城市源起 ...
  • 国内开源镜像站点
  • ​业务双活的数据切换思路设计(下)
  • ###C语言程序设计-----C语言学习(3)#
  • #70结构体案例1(导师,学生,成绩)
  • #大学#套接字
  • #我与虚拟机的故事#连载20:周志明虚拟机第 3 版:到底值不值得买?
  • (1)bark-ml
  • (4)logging(日志模块)
  • (done) 两个矩阵 “相似” 是什么意思?
  • (Redis使用系列) Springboot 使用redis实现接口Api限流 十
  • (二)linux使用docker容器运行mysql
  • (二)七种元启发算法(DBO、LO、SWO、COA、LSO、KOA、GRO)求解无人机路径规划MATLAB
  • (每日持续更新)信息系统项目管理(第四版)(高级项目管理)考试重点整理 第13章 项目资源管理(七)
  • (译)2019年前端性能优化清单 — 下篇
  • (转)LINQ之路
  • **《Linux/Unix系统编程手册》读书笔记24章**
  • *_zh_CN.properties 国际化资源文件 struts 防乱码等
  • ... fatal error LINK1120:1个无法解析的外部命令 的解决办法
  • .360、.halo勒索病毒的最新威胁:如何恢复您的数据?
  • .NET/C# 判断某个类是否是泛型类型或泛型接口的子类型
  • @RequestBody与@ModelAttribute
  • @synthesize和@dynamic分别有什么作用?
  • [ MSF使用实例 ] 利用永恒之蓝(MS17-010)漏洞导致windows靶机蓝屏并获取靶机权限
  • [20170705]lsnrctl status LISTENER_SCAN1