git / git help -a / git help -g译文

来源:互联网 发布:淘宝鞋店名字 编辑:程序博客网 时间:2024/05/16 17:57
原文usage:git [–version] [–help] [-C 《path》] [-c name=value] 译文用法git [版本号] [帮助] [-c path] [-c name=value]原文[–exec-path[=]] [–html-path] [–man-path] [–info-path]译文[–exec-path[=]] [–html-path] [–man-path] [–info-path]原文[-p | –paginate | –no-pager] [–no-replace-objects] [–bare]译文[-p | –paginate | –no-pager] [–no-replace-objects] [–bare]原文[ –git-dir=] [–work-tree=] [–namespace=]译文[ –git-dir=] [–work-tree=] [–namespace=]原文《command》 [《args》]译文《command》 [《args》]原文These are common Git commands used in various situations:译文这些是在各种情况下使用的通用Git命令:原文start a working area (see also: git help tutorial)译文启动工作区(参见:Git帮助教程)原文cloneClone a repository into a new directory译文原文initCreate an empty Git repository or reinitialize an existing one译文原文work on the current change (see also: git help everyday)译文对当前更改进行工作(参见:Git帮助每天) 原文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译文原文examine the history and state (see also: git help revisions)译文检查历史和状态(参见:Git帮助修订) 原文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 Forward-port local commits to the updated upstream head译文 原文tag Create, list, delete or verify a tag object signed with 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 help -a’ and ‘git help -g’ list available subcommands and some concept guides. 译文git help -a 可以可用的子命令集合 git help -g可以获取git概念指导 原文See ‘git help 《command》’ or ‘git help 《concept》’ to read about a specific subcommand or concept.译文git help command 和 git help conecept 获取本地git文档地址,用于详细阅读每一个子命令
原创粉丝点击