git help 机器翻译
该篇发布仅为博主个人保存并参考,内容可能不对
usage: git [--version] [--help] [-C <path>] [-c <name>=<value>]
# [版本] [帮助] [-C 路径] C<C<><>name = value)
[--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
[-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare]
[--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
<command> [<args>]
These are common Git commands used in various situations:
#这些是在各种情况下使用的常见Git命令:
start a working area (see also: git help tutorial)
# 启动一个工作区域(参见:git帮助教程)
clone Clone a repository into a new directory
# 将存储库克隆到新目录中
init Create an empty Git repository or reinitialize an existing one
# 创建一个空的Git存储库或重新初始化现有存储库
work on the current change (see also: git help everyday)
# 处理当前的变化(另请参阅:git help 每天)
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
将当前HEAD重置为指定状态
rm Remove files from the working tree and from the index
从工作树和索引中删除文件
examine the history and state (see also: git help revisions)
检查历史和状态(另请参阅: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
显示工作树状态
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
创建,列出,删除或验证使用GPG签名的标记对象
collaborate (see also: git help workflows)
协作(另请参阅: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 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.
'git help -a'和'git help -g'列出了可用的子命令和一些
概念指南。 请参阅'git help <command>'或'git help <concept>'
阅读有关特定子命令或概念的内容。
git help 机器翻译的更多相关文章
- Git 子模块 - submodule
有种情况我们经常会遇到:某个工作中的项目需要包含并使用另一个项目. 也许是第三方库,或者你 独立开发的,用于多个父项目的库. 现在问题来了:你想要把它们当做两个独立的项目,同时又想在 一个项目中使用另 ...
- Git 在团队中的最佳实践--如何正确使用Git Flow
我们已经从SVN 切换到Git很多年了,现在几乎所有的项目都在使用Github管理, 本篇文章讲一下为什么使用Git, 以及如何在团队中正确使用. Git的优点 Git的优点很多,但是这里只列出我认为 ...
- Git与Repo入门
版本控制 版本控制是什么已不用在说了,就是记录我们对文件.目录或工程等的修改历史,方便查看更改历史,备份以便恢复以前的版本,多人协作... 一.原始版本控制 最原始的版本控制是纯手工的版本控制:修改文 ...
- Git Bash的一些命令和配置
查看git版本号: git --version 如果是第一次使用Git,你需要设置署名和邮箱: $ git config --global user.name "用户名" $ gi ...
- 在Ubuntu 16.10 安装 git 并上传代码至 git.oschina.net
1. 注册一个账号和创建项目 先在git.oschina.net上注册一个账号和新建一个project ,如project name 是"myTest". 2.安装git sudo ...
- 史上最详细git教程
题外话 虽然这个标题很惊悚,不过还是把你骗进来了,哈哈-各位看官不要着急,耐心往下看 Git是什么 Git是目前世界上最先进的分布式版本控制系统. SVN与Git的最主要的区别 SVN是集中式版本控制 ...
- [版本控制之道] Git 常用的命令总结(欢迎收藏备用)
坚持每天学习,坚持每天复习,技术永远学不完,自己永远要前进 总结日常开发生产中常用的Git版本控制命令 ------------------------------main-------------- ...
- 【解决方案】Myeclipse 10 安装 GIT 插件 集成 步骤 图解
工程开发中,往往要使用到集成GIT ,那么下面说说插件安装步骤 PS:以Myeclipse 10 为例,讲解集成安装步骤. ----------------------main------------ ...
- git 命令
切换仓库地址: git remote set-url origin xxx.git切换分支:git checkout name撤销修改:git checkout -- file删除文件:git rm ...
随机推荐
- Maven私服(Repository Manager) - Nexus安装和使用(详细过程)
Maven私服的安装和使用. (注:原创文章,引用请注明来自Clement-Xu的博客!) Maven私服(即Repository Manager)的主要作用: 减少从远方仓库下载的次数,节省带宽.提 ...
- Linux常见问题整理
1. 操作系统应该要控制硬件的哪些单元? 运算单元.控制单元.寄存器组.总线接口单元.输入/输出接口单元. 2. 一个较为完整的操作系统应该包含哪些部分? 比较完整的操作系统应该包含两个组件,一个是核 ...
- 基于 SOA 概念 RPC 框架 的 消息中心 云部署 设计 漫谈
一.背景 假设有一个系统的最大并发量有2000TPS左右.同时该系统有闲时和忙时,希望可以随时进行拓展和削减服务能力,以节省服务器费用开销. 该系统能提供站内消息.短信.app消息.邮箱的一个消息系统 ...
- 9. Oracle DataGuard的介绍
一. Oracle DataGuard简介 Oracle DataGuard:简称DG.是由一个Primary Database(主库)和一个或者多个Standby Database(备库)组成.对O ...
- JavaScript Practices
不定时更新:https://github.com/zhengyeye/JS-practices Day1:关于创建对象的几种方式: Day3:原型 早前一篇:https://www.cnblogs.c ...
- [原]Chef_Server and Chef_WorkStation and Chef_Client Install Guide[by haibo]
一.Prerequisite OS : CentOS-7.0-1406-x86_64-DVD.iso Time Server : NTP Server SERVER NAME IP PLAN ...
- [Codis] Codis3部署流程
#0 前言 最近因为项目需要,研究了一下传说中的Codis.下面跟大家分享Codis3的搭建流程 https://github.com/CodisLabs/codis #1 Codis是什么 官方的介 ...
- 自定义Flume Sink:ElasticSearch Sink
Flume Sink的目的是从Flume Channel中获取数据然后输出到存储或者其他Flume Source中.Flume Agent启动的时候,它会为每一个Sink都启动一个SinkRunner ...
- Git查看两个版本之间修改了哪些文件
gdiff 63e3b647d55fcc643e793e650c893be8601719b1 548cdaf01dbc2f08d1ca0b697a24afe512b75a2f --stat git l ...
- Spring 注解配置(2)——@Autowired
版权声明:本文为博主原创文章,如需转载请标注转载地址. 博客地址:http://www.cnblogs.com/caoyc/p/5626365.html @Autowired 注释,它可以对类成员变 ...