1GIT-PARSE-REMOTE(1)               Git Manual               GIT-PARSE-REMOTE(1)
2
3
4

NAME

6       git-parse-remote - Routines to help parsing remote repository access
7       parameters
8

SYNOPSIS

10       . git-parse-remote
11

DESCRIPTION

13       This script is included in various scripts to supply routines to parse
14       files under $GIT_DIR/remotes/ and $GIT_DIR/branches/ and configuration
15       variables that are related to fetching, pulling and pushing.
16
17       The primary entry points are:
18
19       get_remote_refs_for_fetch
20           Given the list of user-supplied <repo> <refspec>..., return the
21           list of refs to fetch after canonicalizing them into $GIT_DIR
22           relative paths (e.g. refs/heads/foo). When <refspec>... is empty
23           the returned list of refs consists of the defaults for the given
24           <repo>, if specified in $GIT_DIR/remotes/, $GIT_DIR/branches/, or
25           remote.*.fetch configuration.
26
27       get_remote_refs_for_push
28           Given the list of user-supplied <repo> <refspec>..., return the
29           list of refs to push in a form suitable to be fed to the
30           git-send-pack command. When <refspec>... is empty the returned list
31           of refs consists of the defaults for the given <repo>, if specified
32           in $GIT_DIR/remotes/.
33

AUTHOR

35       Written by Junio C Hamano.
36

DOCUMENTATION

38       Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
39

GIT

41       Part of the git(7) suite
42
43
44
45
46Git 1.5.3.3                       10/09/2007               GIT-PARSE-REMOTE(1)
Impressum