.\"Generated by db2man.xsl. Don't modify this, modify the source. .de Sh \" Subsection .br .if t .Sp .ne 5 .PP \fB\\$1\fR .PP .. .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. .TH "GIT-PARSE-REMOTE" 1 "" "" "" .SH NAME git-parse-remote \- Routines to help parsing $GIT_DIR/remotes/ .SH "SYNOPSIS" \&. git\-parse\-remote .SH "DESCRIPTION" This script is included in various scripts to supply routines to parse files under $GIT_DIR/remotes/ and $GIT_DIR/branches/\&. The primary entry points are: .TP get_remote_refs_for_fetch Given the list of user\-supplied ..., return the list of refs to fetch after canonicalizing them into $GIT_DIR relative paths (e\&.g\&. refs/heads/foo)\&. When ... is empty the returned list of refs consists of the defaults for the given , if specified in $GIT_DIR/remotes/ or $GIT_DIR/branches/\&. .TP get_remote_refs_for_push Given the list of user\-supplied ..., return the list of refs to push in a form suitable to be fed to the git\-send\-pack command\&. When ... is empty the returned list of refs consists of the defaults for the given , if specified in $GIT_DIR/remotes/\&. .SH "AUTHOR" Written by Junio C Hamano\&. .SH "DOCUMENTATION" Documentation by Junio C Hamano and the git\-list \&. .SH "GIT" Part of the \fBgit\fR(7) suite