das 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. See 'git help <command>' to read about a specific subcommand
  2. Main Porcelain Commands
  3. add Add file contents to the index
  4. am Apply a series of patches from a mailbox
  5. archive Create an archive of files from a named tree
  6. bisect Use binary search to find the commit that introduced a bug
  7. branch List, create, or delete branches
  8. bundle Move objects and refs by archive
  9. checkout Switch branches or restore working tree files
  10. cherry-pick Apply the changes introduced by some existing commits
  11. citool Graphical alternative to git-commit
  12. clean Remove untracked files from the working tree
  13. clone Clone a repository into a new directory
  14. commit Record changes to the repository
  15. describe Give an object a human readable name based on an available ref
  16. diff Show changes between commits, commit and working tree, etc
  17. fetch Download objects and refs from another repository
  18. format-patch Prepare patches for e-mail submission
  19. gc Cleanup unnecessary files and optimize the local repository
  20. gitk The Git repository browser
  21. grep Print lines matching a pattern
  22. gui A portable graphical interface to Git
  23. init Create an empty Git repository or reinitialize an existing one
  24. log Show commit logs
  25. merge Join two or more development histories together
  26. mv Move or rename a file, a directory, or a symlink
  27. notes Add or inspect object notes
  28. pull Fetch from and integrate with another repository or a local branch
  29. push Update remote refs along with associated objects
  30. range-diff Compare two commit ranges (e.g. two versions of a branch)
  31. rebase Reapply commits on top of another base tip
  32. reset Reset current HEAD to the specified state
  33. restore Restore working tree files
  34. revert Revert some existing commits
  35. rm Remove files from the working tree and from the index
  36. shortlog Summarize 'git log' output
  37. show Show various types of objects
  38. stash Stash the changes in a dirty working directory away
  39. status Show the working tree status
  40. submodule Initialize, update or inspect submodules
  41. switch Switch branches
  42. tag Create, list, delete or verify a tag object signed with GPG
  43. worktree Manage multiple working trees
  44. Ancillary Commands / Manipulators
  45. config Get and set repository or global options
  46. fast-export Git data exporter
  47. fast-import Backend for fast Git data importers
  48. filter-branch Rewrite branches
  49. mergetool Run merge conflict resolution tools to resolve merge conflicts
  50. pack-refs Pack heads and tags for efficient repository access
  51. prune Prune all unreachable objects from the object database
  52. reflog Manage reflog information
  53. remote Manage set of tracked repositories
  54. repack Pack unpacked objects in a repository
  55. replace Create, list, delete refs to replace objects
  56. Ancillary Commands / Interrogators
  57. annotate Annotate file lines with commit information
  58. blame Show what revision and author last modified each line of a file
  59. count-objects Count unpacked number of objects and their disk consumption
  60. difftool Show changes using common diff tools
  61. fsck Verifies the connectivity and validity of the objects in the database
  62. gitweb Git web interface (web frontend to Git repositories)
  63. help Display help information about Git
  64. instaweb Instantly browse your working repository in gitweb
  65. merge-tree Show three-way merge without touching index
  66. rerere Reuse recorded resolution of conflicted merges
  67. show-branch Show branches and their commits
  68. verify-commit Check the GPG signature of commits
  69. verify-tag Check the GPG signature of tags
  70. whatchanged Show logs with difference each commit introduces
  71. Interacting with Others
  72. archimport Import a GNU Arch repository into Git
  73. cvsexportcommit Export a single commit to a CVS checkout
  74. cvsimport Salvage your data out of another SCM people love to hate
  75. cvsserver A CVS server emulator for Git
  76. imap-send Send a collection of patches from stdin to an IMAP folder
  77. p4 Import from and submit to Perforce repositories
  78. quiltimport Applies a quilt patchset onto the current branch
  79. request-pull Generates a summary of pending changes
  80. send-email Send a collection of patches as emails
  81. svn Bidirectional operation between a Subversion repository and Git
  82. Low-level Commands / Manipulators
  83. apply Apply a patch to files and/or to the index
  84. checkout-index Copy files from the index to the working tree
  85. commit-graph Write and verify Git commit-graph files
  86. commit-tree Create a new commit object
  87. hash-object Compute object ID and optionally creates a blob from a file
  88. index-pack Build pack index file for an existing packed archive
  89. merge-file Run a three-way file merge
  90. merge-index Run a merge for files needing merging
  91. mktag Creates a tag object
  92. mktree Build a tree-object from ls-tree formatted text
  93. multi-pack-index Write and verify multi-pack-indexes
  94. pack-objects Create a packed archive of objects
  95. prune-packed Remove extra objects that are already in pack files
  96. read-tree Reads tree information into the index
  97. symbolic-ref Read, modify and delete symbolic refs
  98. unpack-objects Unpack objects from a packed archive
  99. update-index Register file contents in the working tree to the index
  100. update-ref Update the object name stored in a ref safely
  101. write-tree Create a tree object from the current index
  102. Low-level Commands / Interrogators
  103. cat-file Provide content or type and size information for repository objects
  104. cherry Find commits yet to be applied to upstream
  105. diff-files Compares files in the working tree and the index
  106. diff-index Compare a tree to the working tree or index
  107. diff-tree Compares the content and mode of blobs found via two tree objects
  108. for-each-ref Output information on each ref
  109. get-tar-commit-id Extract commit ID from an archive created using git-archive
  110. ls-files Show information about files in the index and the working tree
  111. ls-remote List references in a remote repository
  112. ls-tree List the contents of a tree object
  113. merge-base Find as good common ancestors as possible for a merge
  114. name-rev Find symbolic names for given revs
  115. pack-redundant Find redundant pack files
  116. rev-list Lists commit objects in reverse chronological order
  117. rev-parse Pick out and massage parameters
  118. show-index Show packed archive index
  119. show-ref List references in a local repository
  120. unpack-file Creates a temporary file with a blob's contents
  121. var Show a Git logical variable
  122. verify-pack Validate packed Git archive files
  123. Low-level Commands / Synching Repositories
  124. daemon A really simple server for Git repositories
  125. fetch-pack Receive missing objects from another repository
  126. http-backend Server side implementation of Git over HTTP
  127. send-pack Push objects over Git protocol to another repository
  128. update-server-info Update auxiliary info file to help dumb servers
  129. Low-level Commands / Internal Helpers
  130. check-attr Display gitattributes information
  131. check-ignore Debug gitignore / exclude files
  132. check-mailmap Show canonical names and email addresses of contacts
  133. check-ref-format Ensures that a reference name is well formed
  134. column Display data in columns
  135. credential Retrieve and store user credentials
  136. credential-store Helper to store credentials on disk
  137. fmt-merge-msg Produce a merge commit message
  138. interpret-trailers Add or parse structured information in commit messages
  139. mailinfo Extracts patch and authorship from a single e-mail message
  140. mailsplit Simple UNIX mbox splitter program
  141. merge-one-file The standard helper program to use with git-merge-index
  142. patch-id Compute unique ID for a patch
  143. sh-i18n Git's i18n setup code for shell scripts
  144. sh-setup Common Git shell script setup code
  145. stripspace Remove unnecessary whitespace
  146. External commands
  147. askyesno
  148. credential-helper-selector
  149. flow
  150. lfs