Git shell 命令大全

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 教程)
clone    将一个存储库复制到一个新目录中
init    创建一个空的Git存储库或重新初始化一个现有的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帮助)
add    将文件内容添加到索引中
mv     引动或者重命名文件、一个目录或一个符号链接
reset 将当前HEAD重置为指定状态
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帮助修订
bisect 使用二分查找查找引入错误的提交
grep 匹配模式的打印行
log 显示提交日志
show 显示各种类型的对象
status 显示工作树的状态
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
成长,标记和调整你的共同历史 branch 列出,创建或删除分支 checkout 切换分支或恢复工作树文件 commit 记录变更到存储库 diff 显示提交、提交和工作树之间的变化 merge 加入两个或更多的开发历史 rebase 重新应用在另一个基本提示的顶部 tag 创建、列表、删除或验证与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帮助工作流
fetch 从另一个存储库下载对象和重新安装 pull 获取并与另一个存储库或本地分支进行集成 push 与相关对象一起更新远程refs
'git help -a' and 'git help -g' list available subcommands and some
concept guides. See 'git help <command>' or 'git help <concept>'
to read about a specific subcommand or concept.
 

												



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值