1 | See 'git help <command>' to read about a specific subcommand
|
---|
2 |
|
---|
3 | Main Porcelain Commands
|
---|
4 | add Add file contents to the index
|
---|
5 | am Apply a series of patches from a mailbox
|
---|
6 | archive Create an archive of files from a named tree
|
---|
7 | bisect Use binary search to find the commit that introduced a bug
|
---|
8 | branch List, create, or delete branches
|
---|
9 | bundle Move objects and refs by archive
|
---|
10 | checkout Switch branches or restore working tree files
|
---|
11 | cherry-pick Apply the changes introduced by some existing commits
|
---|
12 | citool Graphical alternative to git-commit
|
---|
13 | clean Remove untracked files from the working tree
|
---|
14 | clone Clone a repository into a new directory
|
---|
15 | commit Record changes to the repository
|
---|
16 | describe Give an object a human readable name based on an available ref
|
---|
17 | diff Show changes between commits, commit and working tree, etc
|
---|
18 | fetch Download objects and refs from another repository
|
---|
19 | format-patch Prepare patches for e-mail submission
|
---|
20 | gc Cleanup unnecessary files and optimize the local repository
|
---|
21 | gitk The Git repository browser
|
---|
22 | grep Print lines matching a pattern
|
---|
23 | gui A portable graphical interface to Git
|
---|
24 | init Create an empty Git repository or reinitialize an existing one
|
---|
25 | log Show commit logs
|
---|
26 | maintenance Run tasks to optimize Git repository data
|
---|
27 | merge Join two or more development histories together
|
---|
28 | mv Move or rename a file, a directory, or a symlink
|
---|
29 | notes Add or inspect object notes
|
---|
30 | pull Fetch from and integrate with another repository or a local branch
|
---|
31 | push Update remote refs along with associated objects
|
---|
32 | range-diff Compare two commit ranges (e.g. two versions of a branch)
|
---|
33 | rebase Reapply commits on top of another base tip
|
---|
34 | reset Reset current HEAD to the specified state
|
---|
35 | restore Restore working tree files
|
---|
36 | revert Revert some existing commits
|
---|
37 | rm Remove files from the working tree and from the index
|
---|
38 | scalar A tool for managing large Git repositories
|
---|
39 | shortlog Summarize 'git log' output
|
---|
40 | show Show various types of objects
|
---|
41 | sparse-checkout Reduce your working tree to a subset of tracked files
|
---|
42 | stash Stash the changes in a dirty working directory away
|
---|
43 | status Show the working tree status
|
---|
44 | submodule Initialize, update or inspect submodules
|
---|
45 | switch Switch branches
|
---|
46 | tag Create, list, delete or verify a tag object signed with GPG
|
---|
47 | worktree Manage multiple working trees
|
---|
48 |
|
---|
49 | Ancillary Commands / Manipulators
|
---|
50 | config Get and set repository or global options
|
---|
51 | fast-export Git data exporter
|
---|
52 | fast-import Backend for fast Git data importers
|
---|
53 | filter-branch Rewrite branches
|
---|
54 | mergetool Run merge conflict resolution tools to resolve merge conflicts
|
---|
55 | pack-refs Pack heads and tags for efficient repository access
|
---|
56 | prune Prune all unreachable objects from the object database
|
---|
57 | reflog Manage reflog information
|
---|
58 | remote Manage set of tracked repositories
|
---|
59 | repack Pack unpacked objects in a repository
|
---|
60 | replace Create, list, delete refs to replace objects
|
---|
61 |
|
---|
62 | Ancillary Commands / Interrogators
|
---|
63 | annotate Annotate file lines with commit information
|
---|
64 | blame Show what revision and author last modified each line of a file
|
---|
65 | bugreport Collect information for user to file a bug report
|
---|
66 | count-objects Count unpacked number of objects and their disk consumption
|
---|
67 | diagnose Generate a zip archive of diagnostic information
|
---|
68 | difftool Show changes using common diff tools
|
---|
69 | fsck Verifies the connectivity and validity of the objects in the database
|
---|
70 | gitweb Git web interface (web frontend to Git repositories)
|
---|
71 | help Display help information about Git
|
---|
72 | instaweb Instantly browse your working repository in gitweb
|
---|
73 | merge-tree Perform merge without touching index or working tree
|
---|
74 | rerere Reuse recorded resolution of conflicted merges
|
---|
75 | show-branch Show branches and their commits
|
---|
76 | verify-commit Check the GPG signature of commits
|
---|
77 | verify-tag Check the GPG signature of tags
|
---|
78 | version Display version information about Git
|
---|
79 | whatchanged Show logs with difference each commit introduces
|
---|
80 |
|
---|
81 | Interacting with Others
|
---|
82 | archimport Import a GNU Arch repository into Git
|
---|
83 | cvsexportcommit Export a single commit to a CVS checkout
|
---|
84 | cvsimport Salvage your data out of another SCM people love to hate
|
---|
85 | cvsserver A CVS server emulator for Git
|
---|
86 | imap-send Send a collection of patches from stdin to an IMAP folder
|
---|
87 | p4 Import from and submit to Perforce repositories
|
---|
88 | quiltimport Applies a quilt patchset onto the current branch
|
---|
89 | request-pull Generates a summary of pending changes
|
---|
90 | send-email Send a collection of patches as emails
|
---|
91 | svn Bidirectional operation between a Subversion repository and Git
|
---|
92 |
|
---|
93 | Low-level Commands / Manipulators
|
---|
94 | apply Apply a patch to files and/or to the index
|
---|
95 | checkout-index Copy files from the index to the working tree
|
---|
96 | commit-graph Write and verify Git commit-graph files
|
---|
97 | commit-tree Create a new commit object
|
---|
98 | hash-object Compute object ID and optionally creates a blob from a file
|
---|
99 | index-pack Build pack index file for an existing packed archive
|
---|
100 | merge-file Run a three-way file merge
|
---|
101 | merge-index Run a merge for files needing merging
|
---|
102 | mktag Creates a tag object with extra validation
|
---|
103 | mktree Build a tree-object from ls-tree formatted text
|
---|
104 | multi-pack-index Write and verify multi-pack-indexes
|
---|
105 | pack-objects Create a packed archive of objects
|
---|
106 | prune-packed Remove extra objects that are already in pack files
|
---|
107 | read-tree Reads tree information into the index
|
---|
108 | symbolic-ref Read, modify and delete symbolic refs
|
---|
109 | unpack-objects Unpack objects from a packed archive
|
---|
110 | update-index Register file contents in the working tree to the index
|
---|
111 | update-ref Update the object name stored in a ref safely
|
---|
112 | write-tree Create a tree object from the current index
|
---|
113 |
|
---|
114 | Low-level Commands / Interrogators
|
---|
115 | cat-file Provide content or type and size information for repository objects
|
---|
116 | cherry Find commits yet to be applied to upstream
|
---|
117 | diff-files Compares files in the working tree and the index
|
---|
118 | diff-index Compare a tree to the working tree or index
|
---|
119 | diff-tree Compares the content and mode of blobs found via two tree objects
|
---|
120 | for-each-ref Output information on each ref
|
---|
121 | for-each-repo Run a Git command on a list of repositories
|
---|
122 | get-tar-commit-id Extract commit ID from an archive created using git-archive
|
---|
123 | ls-files Show information about files in the index and the working tree
|
---|
124 | ls-remote List references in a remote repository
|
---|
125 | ls-tree List the contents of a tree object
|
---|
126 | merge-base |
---|