Autogenerated man pages for v1.2.4-gec57
[git.git] / man1 / git-parse-remote.1
1 .\"Generated by db2man.xsl. Don't modify this, modify the source.
2 .de Sh \" Subsection
3 .br
4 .if t .Sp
5 .ne 5
6 .PP
7 \fB\\$1\fR
8 .PP
9 ..
10 .de Sp \" Vertical space (when we can't use .PP)
11 .if t .sp .5v
12 .if n .sp
13 ..
14 .de Ip \" List item
15 .br
16 .ie \\n(.$>=3 .ne \\$3
17 .el .ne 3
18 .IP "\\$1" \\$2
19 ..
20 .TH "GIT-PARSE-REMOTE" 1 "" "" ""
21 .SH NAME
22 git-parse-remote \- Routines to help parsing $GIT_DIR/remotes/
23 .SH "SYNOPSIS"
24
25
26 \&. git\-parse\-remote
27
28 .SH "DESCRIPTION"
29
30
31 This script is included in various scripts to supply routines to parse files under $GIT_DIR/remotes/ and $GIT_DIR/branches/\&.
32
33
34 The primary entry points are:
35
36 .TP
37 get_remote_refs_for_fetch
38 Given the list of user\-supplied <repo> <refspec>..., return the list of refs to fetch after canonicalizing them into $GIT_DIR relative paths (e\&.g\&. refs/heads/foo)\&. When <refspec>... is empty the returned list of refs consists of the defaults for the given <repo>, if specified in $GIT_DIR/remotes/ or $GIT_DIR/branches/\&.
39
40 .TP
41 get_remote_refs_for_push
42 Given the list of user\-supplied <repo> <refspec>..., return the list of refs to push in a form suitable to be fed to the git\-send\-pack command\&. When <refspec>... is empty the returned list of refs consists of the defaults for the given <repo>, if specified in $GIT_DIR/remotes/\&.
43
44 .SH "AUTHOR"
45
46
47 Written by Junio C Hamano\&.
48
49 .SH "DOCUMENTATION"
50
51
52 Documentation by Junio C Hamano and the git\-list <git@vger\&.kernel\&.org>\&.
53
54 .SH "GIT"
55
56
57 Part of the \fBgit\fR(7) suite
58