File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -230,6 +230,18 @@ pull.octopus::
230230pull.twohead::
231231 The default merge strategy to use when pulling a single branch.
232232
233+ remote.<name>.url::
234+ The URL of a remote repository. See gitlink:git-fetch[1] or
235+ gitlink:git-push[1].
236+
237+ remote.<name>.fetch::
238+ The default set of "refspec" for gitlink:git-fetch[1]. See
239+ gitlink:git-fetch[1].
240+
241+ remote.<name>.push::
242+ The default set of "refspec" for gitlink:git-push[1]. See
243+ gitlink:git-push[1].
244+
233245repack.usedeltabaseoffset::
234246 Allow gitlink:git-repack[1] to create packs that uses
235247 delta-base offset. Defaults to false.
Original file line number Diff line number Diff line change @@ -568,6 +568,14 @@ <h2>REMOTES</h2>
568568lines are used for < tt > git-push</ tt > and < tt > git-fetch</ tt > /< tt > git-pull</ tt > ,
569569respectively. Multiple < tt > Push:</ tt > and < tt > Pull:</ tt > lines may
570570be specified for additional branch mappings.</ p >
571+ < p > Or, equivalently, in the < tt > $GIT_DIR/config</ tt > (note the use
572+ of < tt > fetch</ tt > instead of < tt > Pull:</ tt > ):</ p >
573+ < div class ="literalblock ">
574+ < div class ="content ">
575+ < pre > < tt > url = <url>
576+ push = <refspec>
577+ fetch = <refspec></ tt > </ pre >
578+ </ div > </ div >
571579< p > The name of a file in < tt > $GIT_DIR/branches</ tt > directory can be
572580specified as an older notation short-hand; the named
573581file should contain a single line, a URL in one of the
@@ -607,7 +615,7 @@ <h2>GIT</h2>
607615</ div >
608616< div id ="footer ">
609617< div id ="footer-text ">
610- Last updated 03 -Oct-2006 08:41:04 UTC
618+ Last updated 24 -Oct-2006 05:43:59 UTC
611619</ div >
612620</ div >
613621</ body >
Original file line number Diff line number Diff line change @@ -612,6 +612,14 @@ <h2>REMOTES</h2>
612612lines are used for < tt > git-push</ tt > and < tt > git-fetch</ tt > /< tt > git-pull</ tt > ,
613613respectively. Multiple < tt > Push:</ tt > and < tt > Pull:</ tt > lines may
614614be specified for additional branch mappings.</ p >
615+ < p > Or, equivalently, in the < tt > $GIT_DIR/config</ tt > (note the use
616+ of < tt > fetch</ tt > instead of < tt > Pull:</ tt > ):</ p >
617+ < div class ="literalblock ">
618+ < div class ="content ">
619+ < pre > < tt > url = <url>
620+ push = <refspec>
621+ fetch = <refspec></ tt > </ pre >
622+ </ div > </ div >
615623< p > The name of a file in < tt > $GIT_DIR/branches</ tt > directory can be
616624specified as an older notation short-hand; the named
617625file should contain a single line, a URL in one of the
@@ -809,7 +817,7 @@ <h2>GIT</h2>
809817</ div >
810818< div id ="footer ">
811819< div id ="footer-text ">
812- Last updated 03 -Oct-2006 08:41:18 UTC
820+ Last updated 24 -Oct-2006 05:43:59 UTC
813821</ div >
814822</ div >
815823</ body >
Original file line number Diff line number Diff line change @@ -468,6 +468,14 @@ <h2>REMOTES</h2>
468468lines are used for < tt > git-push</ tt > and < tt > git-fetch</ tt > /< tt > git-pull</ tt > ,
469469respectively. Multiple < tt > Push:</ tt > and < tt > Pull:</ tt > lines may
470470be specified for additional branch mappings.</ p >
471+ < p > Or, equivalently, in the < tt > $GIT_DIR/config</ tt > (note the use
472+ of < tt > fetch</ tt > instead of < tt > Pull:</ tt > ):</ p >
473+ < div class ="literalblock ">
474+ < div class ="content ">
475+ < pre > < tt > url = <url>
476+ push = <refspec>
477+ fetch = <refspec></ tt > </ pre >
478+ </ div > </ div >
471479< p > The name of a file in < tt > $GIT_DIR/branches</ tt > directory can be
472480specified as an older notation short-hand; the named
473481file should contain a single line, a URL in one of the
@@ -502,7 +510,7 @@ <h2>GIT</h2>
502510</ div >
503511< div id ="footer ">
504512< div id ="footer-text ">
505- Last updated 03 -Oct-2006 08:41:19 UTC
513+ Last updated 24 -Oct-2006 05:44:00 UTC
506514</ div >
507515</ div >
508516</ body >
Original file line number Diff line number Diff line change @@ -914,6 +914,33 @@ <h3>Variables</h3>
914914</ p >
915915</ dd >
916916< dt >
917+ remote.<name>.url
918+ </ dt >
919+ < dd >
920+ < p >
921+ The URL of a remote repository. See < a href ="git-fetch.html "> git-fetch(1)</ a > or
922+ < a href ="git-push.html "> git-push(1)</ a > .
923+ </ p >
924+ </ dd >
925+ < dt >
926+ remote.<name>.fetch
927+ </ dt >
928+ < dd >
929+ < p >
930+ The default set of "refspec" for < a href ="git-fetch.html "> git-fetch(1)</ a > . See
931+ < a href ="git-fetch.html "> git-fetch(1)</ a > .
932+ </ p >
933+ </ dd >
934+ < dt >
935+ remote.<name>.push
936+ </ dt >
937+ < dd >
938+ < p >
939+ The default set of "refspec" for < a href ="git-push.html "> git-push(1)</ a > . See
940+ < a href ="git-push.html "> git-push(1)</ a > .
941+ </ p >
942+ </ dd >
943+ < dt >
917944repack.usedeltabaseoffset
918945</ dt >
919946< dd >
@@ -1045,7 +1072,7 @@ <h2>GIT</h2>
10451072</ div >
10461073< div id ="footer ">
10471074< div id ="footer-text ">
1048- Last updated 23 -Oct-2006 07:18:40 UTC
1075+ Last updated 24 -Oct-2006 05:44:00 UTC
10491076</ div >
10501077</ div >
10511078</ body >
Original file line number Diff line number Diff line change @@ -51,6 +51,14 @@ lines are used for `git-push` and `git-fetch`/`git-pull`,
5151respectively. Multiple `Push:` and `Pull:` lines may
5252be specified for additional branch mappings.
5353
54+ Or, equivalently, in the `$GIT_DIR/config` (note the use
55+ of `fetch` instead of `Pull:`):
56+
57+ [remote "<remote>"]
58+ url = <url>
59+ push = <refspec>
60+ fetch = <refspec>
61+
5462The name of a file in `$GIT_DIR/branches` directory can be
5563specified as an older notation short-hand; the named
5664file should contain a single line, a URL in one of the
You can’t perform that action at this time.
0 commit comments