提交 f8eda774 编写于 作者: S Scott Chacon 提交者: Chris Wanstrath

rearrangement of the default help output

上级 e015b871
...@@ -162,35 +162,37 @@ usage: git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path] ...@@ -162,35 +162,37 @@ usage: git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]
[-p|--paginate|--no-pager] [--bare] [--git-dir=GIT_DIR] [-p|--paginate|--no-pager] [--bare] [--git-dir=GIT_DIR]
[--work-tree=GIT_WORK_TREE] [--help] COMMAND [ARGS] [--work-tree=GIT_WORK_TREE] [--help] COMMAND [ARGS]
Creating a git repository: Basic Commands:
clone Clone a repository into a new directory
init Create an empty git repository or reinitialize an existing one init Create an empty git repository or reinitialize an existing one
add Add new or modified files to the staging area
Working with content: rm Remove files from the working directory and staging area
add Add file contents to the index mv Move or rename a file, a directory, or a symlink
branch List, create, or delete branches status Show the status of the working directory and staging area
checkout Checkout a branch or paths to the working tree
commit Record changes to the repository commit Record changes to the repository
History Commands:
log Show the commit history log
diff Show changes between commits, commit and working tree, etc diff Show changes between commits, commit and working tree, etc
log Show commit logs show Show information about commits, tags or files
merge Join two or more development histories together
mv Move or rename a file, a directory, or a symlink Branching Commands:
rm Remove files from the working tree and from the index branch List, create, or delete branches
status Show the working tree status checkout Switch the active branch to another branch
show Show various types of objects merge Join two or more development histories (branches) together
tag Create, list, delete or verify a tag object signed with GPG tag Create, list, delete, sign or verify a tag object
Over the network: Remote Commands:
fetch Download objects and refs from another repository clone Clone a remote repository into a new directory
fetch Download data, tags and branches from a remote repository
pull Fetch from and merge with another repository or a local branch pull Fetch from and merge with another repository or a local branch
push Update remote refs along with associated objects push Upload data, tags and branches to a remote repository
remote Manage a set of tracked repositories remote View and manage a set of remote repositories
Advanced commands: Advanced commands:
reset Reset your staging area or working directory to another point
rebase Re-apply a series of patches in one branch onto another
bisect Find by binary search the change that introduced a bug bisect Find by binary search the change that introduced a bug
grep Print lines matching a pattern grep Print files with lines matching a pattern in your codebase
reset Reset current HEAD to the specified state
rebase Forward-port local commits to the updated upstream head
See 'git help COMMAND' for more information on a specific command. See 'git help COMMAND' for more information on a specific command.
help help
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册