.\" ** You probably do not want to edit this file directly ** .\" It was generated using the DocBook XSL Stylesheets (version 1.69.1). .\" Instead of manually editing it, you probably should edit the DocBook XML .\" source for it and then use the DocBook XSL Stylesheets to regenerate it. .TH "GIT\-PARSE\-REMOTE" "1" "09/19/2007" "Git 1.5.3.2" "Git Manual" .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .SH "NAME" git\-parse\-remote \- Routines to help parsing remote repository access parameters .SH "SYNOPSIS" \fI. git\-parse\-remote\fR .SH "DESCRIPTION" This script is included in various scripts to supply routines to parse files under $GIT_DIR/remotes/ and $GIT_DIR/branches/ and configuration variables that are related to fetching, pulling and pushing. 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/, $GIT_DIR/branches/, or remote.*.fetch configuration. .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