summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ac4e086)
raw | patch | inline | side by side (parent: ac4e086)
author | Junio C Hamano <junkio@cox.net> | |
Fri, 6 May 2005 06:50:22 +0000 (23:50 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 6 May 2005 06:50:22 +0000 (23:50 -0700) |
This adds descriptions for the core GIT commands that were not
mentioned in the previous version.
Signed-off-by: Junio C Hamano <junkio@cox.net>
mentioned in the previous version.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/core-git.txt | patch | blob | history |
index d979a660854c1050afb2d8ed401d5f9be32bff36..36f5a9d34ea09344824ad9ff57715e99c3a6147a 100644 (file)
the tree structure GIT_INDEX_FILE describes.
+################################################################
+git-apply-patch-script
+
+This is a sample script to be used as GIT_EXTERNAL_DIFF to apply
+differences git-diff-* family of commands reports to the current
+work tree.
+
+
################################################################
git-cat-file
git-cat-file (-t | <type>) <object>
see also: git-write-tree
+################################################################
+git-convert-cache
+
+Converts old-style GIT repository to the latest.
+
+
################################################################
git-diff-cache
git-diff-cache [-p] [-r] [-z] [--cached] <tree-ish>
valid sha1, and the "not in sync with the index" ones will always have the
special all-zero sha1.
+
################################################################
git-diff-tree
git-diff-tree [-p] [-r] [-z] <tree-ish> <tree-ish> [<pattern>]*
in case you care).
+
################################################################
git-diff-tree-helper
git-diff-tree-helper [-z] [-R]
See also the section on generating patches.
+
################################################################
git-fsck-cache
git-fsck-cache [--tags] [--root] [[--unreachable] [--cache] <object>*]
GIT_INDEX_FILE
used to specify the cache
+
################################################################
git-export
git-export top [base]
git-init-db won't hurt an existing repository.
+################################################################
+git-http-pull
+
+Downloads a remote GIT repository via HTTP protocol.
+
+
+################################################################
+git-local-pull
+
+Downloads another GIT repository on a local system.
+
+
################################################################
git-ls-tree
git-ls-tree [-r] [-z] <tree-ish>
for the AA file, because it didn't exist in the original, and thus
"git-merge-cache" didn't even try to merge the MM thing).
+################################################################
+git-merge-one-file-script
+
+This is the standard helper program to use with git-merge-cache
+to resolve a merge after the trivial merge done with git-read-tree -m.
+
+################################################################
+git-mktag
+
+Reads a tag contents from its standard input and creates a tag object.
+The input must be a well formed tag object.
+
+
+################################################################
+git-prune-script
+
+This runs git-fsck-cache --unreachable program using the heads specified
+on the command line (or .git/refs/heads/* and .git/refs/tags/* if none is
+specified), and prunes all unreachable objects from the object database.
+
+
+################################################################
+git-pull-script
+
+This script is used by Linus to pull from a remote repository and perform
+a merge.
+
################################################################
git-read-tree
git-ls-files
+################################################################
+git-resolve-script
+
+This script is used by Linus to merge two trees.
+
+
################################################################
git-rev-list <commit>
think.)
+################################################################
+git-rpull
+
+Pulls from a remote repository over ssh connection, invoking git-rpush on
+the other end.
+
+
+################################################################
+git-rpush
+
+Helper "server-side" program used by git-rpull.
+
+
################################################################
git-diff-files
git-diff-files [-p] [-q] [-r] [-z] [<pattern>...]
section.
+################################################################
+git-tag-script
+
+This is an example script that uses git-mktag to create a tag object
+signed with GPG.
+
+
+################################################################
+git-tar-tree
+
+ git-tar-tree <tree-ish> [ <base> ]
+
+Creates a tar archive containing the tree structure for the named tree.
+When <base> is specified it is added as a leading path as the files in the
+generated tar archive.
+
+
################################################################
git-ls-files
git-ls-files [-z] [-t]
git-checkout-cache -n -f -a && git-update-cache --ignore-missing --refresh
+################################################################
+git-write-blob
+
+ git-write-blob <any-file-on-the-filesystem>
+
+Writes the contents of the named file (which can be outside of the work
+tree) as a blob into the object database, and reports its object ID to its
+standard output. This is used by git-merge-one-file-script to update the
+cache without modifying files in the work tree.
+
+
################################################################
git-write-tree
git-write-tree