git --help 常用命令

**

git常用命令

**
在这里插入图片描述
**These are common Git commands used in various situations:
这些是在各种情况下使用的通用Git命令:

start a working area (see also: git help tutorial)
clone Clone a repository into a new directory
init Create an empty Git repository or reinitialize an existing one
启动一个工作区(参见:git帮助教程)
克隆将存储库克隆到新目录中
init创建一个空的Git存储库,或者重新初始化一个现有的存储库

work on the current change (see also: git help everyday)
add Add file contents to the index
mv Move or rename a file, a directory, or a symlink
reset Reset current HEAD to the specified state
rm Remove files from the working tree and from the index
处理当前更改(请参见:git help everyday)
向索引添加文件内容
mv移动或重命名文件、目录或符号链接
将当前磁头重置为指定状态
rm从工作树和索引中删除文件

examine the history and state (see also: git help revisions)
bisect Use binary search to find the commit that introduced a bug
grep Print lines matching a pattern
log Show commit logs
show Show various types of objects
status Show the working tree status
检查历史和状态(请参见:git帮助修订)
二分法使用二分查找来查找引入错误的提交
grep打印与模式匹配的行
显示提交日志
显示各种类型的对象
显示工作树状态

grow, mark and tweak your common history
branch List, create, or delete branches
checkout Switch branches or restore working tree files
commit Record changes to the repository
diff Show changes between commits, commit and working tree, etc
merge Join two or more development histories together
rebase Reapply commits on top of another base tip
tag Create, list, delete or verify a tag object signed with GPG

成长,标记和调整你们共同的历史
分支列表、创建或删除分支
签出切换分支或还原工作树文件
将记录更改提交到存储库
diff显示提交、提交和工作树等之间的更改
合并连接两个或多个开发历史
在另一个基本提示之上重新应用提交
创建、列表、删除或验证用GPG签名的标记对象

collaborate (see also: git help workflows)
fetch Download objects and refs from another repository
pull Fetch from and integrate with another repository or a local branch
push Update remote refs along with associated objects
协作(参见:git帮助工作流)
从另一个存储库获取下载对象和引用
从另一个存储库或本地分支中提取和集成
推动更新远程引用和相关对象

‘git help -a’ and ‘git help -g’ list available subcommands and some
concept guides. See 'git help ’ or 'git help ’
to read about a specific subcommand or concept.
列出可用的子命令和一些子命令
概念指南。参见“git帮助<命令>”或“git帮助<概念>”
阅读特定子命令或概念。**

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值