logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

git-config.1 (351703B)


  1. '\" t
  2. .\" Title: git-config
  3. .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
  4. .\" Generator: DocBook XSL Stylesheets v1.79.2 <http://docbook.sf.net/>
  5. .\" Date: 2025-03-14
  6. .\" Manual: Git Manual
  7. .\" Source: Git 2.49.0
  8. .\" Language: English
  9. .\"
  10. .TH "GIT\-CONFIG" "1" "2025-03-14" "Git 2\&.49\&.0" "Git Manual"
  11. .\" -----------------------------------------------------------------
  12. .\" * Define some portability stuff
  13. .\" -----------------------------------------------------------------
  14. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. .\" http://bugs.debian.org/507673
  16. .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
  17. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  18. .ie \n(.g .ds Aq \(aq
  19. .el .ds Aq '
  20. .\" -----------------------------------------------------------------
  21. .\" * set default formatting
  22. .\" -----------------------------------------------------------------
  23. .\" disable hyphenation
  24. .nh
  25. .\" disable justification (adjust text to left margin only)
  26. .ad l
  27. .\" -----------------------------------------------------------------
  28. .\" * MAIN CONTENT STARTS HERE *
  29. .\" -----------------------------------------------------------------
  30. .SH "NAME"
  31. git-config \- Get and set repository or global options
  32. .SH "SYNOPSIS"
  33. .sp
  34. .nf
  35. \fIgit config list\fR [<file\-option>] [<display\-option>] [\-\-includes]
  36. \fIgit config get\fR [<file\-option>] [<display\-option>] [\-\-includes] [\-\-all] [\-\-regexp] [\-\-value=<value>] [\-\-fixed\-value] [\-\-default=<default>] <name>
  37. \fIgit config set\fR [<file\-option>] [\-\-type=<type>] [\-\-all] [\-\-value=<value>] [\-\-fixed\-value] <name> <value>
  38. \fIgit config unset\fR [<file\-option>] [\-\-all] [\-\-value=<value>] [\-\-fixed\-value] <name>
  39. \fIgit config rename\-section\fR [<file\-option>] <old\-name> <new\-name>
  40. \fIgit config remove\-section\fR [<file\-option>] <name>
  41. \fIgit config edit\fR [<file\-option>]
  42. \fIgit config\fR [<file\-option>] \-\-get\-colorbool <name> [<stdout\-is\-tty>]
  43. .fi
  44. .SH "DESCRIPTION"
  45. .sp
  46. You can query/set/replace/unset options with this command\&. The name is actually the section and the key separated by a dot, and the value will be escaped\&.
  47. .sp
  48. Multiple lines can be added to an option by using the \fB\-\-append\fR option\&. If you want to update or unset an option which can occur on multiple lines, a \fBvalue\-pattern\fR (which is an extended regular expression, unless the \fB\-\-fixed\-value\fR option is given) needs to be given\&. Only the existing values that match the pattern are updated or unset\&. If you want to handle the lines that do \fBnot\fR match the pattern, just prepend a single exclamation mark in front (see also the section called \(lqEXAMPLES\(rq), but note that this only works when the \fB\-\-fixed\-value\fR option is not in use\&.
  49. .sp
  50. The \fB\-\-type=\fR\fI<type>\fR option instructs \fIgit config\fR to ensure that incoming and outgoing values are canonicalize\-able under the given <type>\&. If no \fB\-\-type=\fR\fI<type>\fR is given, no canonicalization will be performed\&. Callers may unset an existing \fB\-\-type\fR specifier with \fB\-\-no\-type\fR\&.
  51. .sp
  52. When reading, the values are read from the system, global and repository local configuration files by default, and options \fB\-\-system\fR, \fB\-\-global\fR, \fB\-\-local\fR, \fB\-\-worktree\fR and \fB\-\-file\fR \fI<filename>\fR can be used to tell the command to read from only that location (see the section called \(lqFILES\(rq)\&.
  53. .sp
  54. When writing, the new value is written to the repository local configuration file by default, and options \fB\-\-system\fR, \fB\-\-global\fR, \fB\-\-worktree\fR, \fB\-\-file\fR \fI<filename>\fR can be used to tell the command to write to that location (you can say \fB\-\-local\fR but that is the default)\&.
  55. .sp
  56. This command will fail with non\-zero status upon error\&. Some exit codes are:
  57. .sp
  58. .RS 4
  59. .ie n \{\
  60. \h'-04'\(bu\h'+03'\c
  61. .\}
  62. .el \{\
  63. .sp -1
  64. .IP \(bu 2.3
  65. .\}
  66. The section or key is invalid (ret=1),
  67. .RE
  68. .sp
  69. .RS 4
  70. .ie n \{\
  71. \h'-04'\(bu\h'+03'\c
  72. .\}
  73. .el \{\
  74. .sp -1
  75. .IP \(bu 2.3
  76. .\}
  77. no section or name was provided (ret=2),
  78. .RE
  79. .sp
  80. .RS 4
  81. .ie n \{\
  82. \h'-04'\(bu\h'+03'\c
  83. .\}
  84. .el \{\
  85. .sp -1
  86. .IP \(bu 2.3
  87. .\}
  88. the config file is invalid (ret=3),
  89. .RE
  90. .sp
  91. .RS 4
  92. .ie n \{\
  93. \h'-04'\(bu\h'+03'\c
  94. .\}
  95. .el \{\
  96. .sp -1
  97. .IP \(bu 2.3
  98. .\}
  99. the config file cannot be written (ret=4),
  100. .RE
  101. .sp
  102. .RS 4
  103. .ie n \{\
  104. \h'-04'\(bu\h'+03'\c
  105. .\}
  106. .el \{\
  107. .sp -1
  108. .IP \(bu 2.3
  109. .\}
  110. you try to unset an option which does not exist (ret=5),
  111. .RE
  112. .sp
  113. .RS 4
  114. .ie n \{\
  115. \h'-04'\(bu\h'+03'\c
  116. .\}
  117. .el \{\
  118. .sp -1
  119. .IP \(bu 2.3
  120. .\}
  121. you try to unset/set an option for which multiple lines match (ret=5), or
  122. .RE
  123. .sp
  124. .RS 4
  125. .ie n \{\
  126. \h'-04'\(bu\h'+03'\c
  127. .\}
  128. .el \{\
  129. .sp -1
  130. .IP \(bu 2.3
  131. .\}
  132. you try to use an invalid regexp (ret=6)\&.
  133. .RE
  134. .sp
  135. On success, the command returns the exit code 0\&.
  136. .sp
  137. A list of all available configuration variables can be obtained using the \fBgit\fR \fBhelp\fR \fB\-\-config\fR command\&.
  138. .SH "COMMANDS"
  139. .PP
  140. list
  141. .RS 4
  142. List all variables set in config file, along with their values\&.
  143. .RE
  144. .PP
  145. get
  146. .RS 4
  147. Emits the value of the specified key\&. If key is present multiple times in the configuration, emits the last value\&. If
  148. \fB\-\-all\fR
  149. is specified, emits all values associated with key\&. Returns error code 1 if key is not present\&.
  150. .RE
  151. .PP
  152. set
  153. .RS 4
  154. Set value for one or more config options\&. By default, this command refuses to write multi\-valued config options\&. Passing
  155. \fB\-\-all\fR
  156. will replace all multi\-valued config options with the new value, whereas
  157. \fB\-\-value=\fR
  158. will replace all config options whose values match the given pattern\&.
  159. .RE
  160. .PP
  161. unset
  162. .RS 4
  163. Unset value for one or more config options\&. By default, this command refuses to unset multi\-valued keys\&. Passing
  164. \fB\-\-all\fR
  165. will unset all multi\-valued config options, whereas
  166. \fB\-\-value\fR
  167. will unset all config options whose values match the given pattern\&.
  168. .RE
  169. .PP
  170. rename\-section
  171. .RS 4
  172. Rename the given section to a new name\&.
  173. .RE
  174. .PP
  175. remove\-section
  176. .RS 4
  177. Remove the given section from the configuration file\&.
  178. .RE
  179. .PP
  180. edit
  181. .RS 4
  182. Opens an editor to modify the specified config file; either
  183. \fB\-\-system\fR,
  184. \fB\-\-global\fR,
  185. \fB\-\-local\fR
  186. (default),
  187. \fB\-\-worktree\fR, or
  188. \fB\-\-file\fR
  189. \fI<config\-file>\fR\&.
  190. .RE
  191. .SH "OPTIONS"
  192. .PP
  193. \-\-replace\-all
  194. .RS 4
  195. Default behavior is to replace at most one line\&. This replaces all lines matching the key (and optionally the
  196. \fBvalue\-pattern\fR)\&.
  197. .RE
  198. .PP
  199. \-\-append
  200. .RS 4
  201. Adds a new line to the option without altering any existing values\&. This is the same as providing
  202. \fI\-\-value=^$\fR
  203. in
  204. \fBset\fR\&.
  205. .RE
  206. .PP
  207. \-\-comment <message>
  208. .RS 4
  209. Append a comment at the end of new or modified lines\&.
  210. .sp
  211. .if n \{\
  212. .RS 4
  213. .\}
  214. .nf
  215. If _<message>_ begins with one or more whitespaces followed
  216. by "#", it is used as\-is\&. If it begins with "#", a space is
  217. prepended before it is used\&. Otherwise, a string " # " (a
  218. space followed by a hash followed by a space) is prepended
  219. to it\&. And the resulting string is placed immediately after
  220. the value defined for the variable\&. The _<message>_ must
  221. not contain linefeed characters (no multi\-line comments are
  222. permitted)\&.
  223. .fi
  224. .if n \{\
  225. .RE
  226. .\}
  227. .RE
  228. .PP
  229. \-\-all
  230. .RS 4
  231. With
  232. \fBget\fR, return all values for a multi\-valued key\&.
  233. .RE
  234. .PP
  235. \-\-regexp
  236. .RS 4
  237. With
  238. \fBget\fR, interpret the name as a regular expression\&. Regular expression matching is currently case\-sensitive and done against a canonicalized version of the key in which section and variable names are lowercased, but subsection names are not\&.
  239. .RE
  240. .PP
  241. \-\-url=<URL>
  242. .RS 4
  243. When given a two\-part <name> as <section>\&.<key>, the value for <section>\&.<URL>\&.<key> whose <URL> part matches the best to the given URL is returned (if no such key exists, the value for <section>\&.<key> is used as a fallback)\&. When given just the <section> as name, do so for all the keys in the section and list them\&. Returns error code 1 if no value is found\&.
  244. .RE
  245. .PP
  246. \-\-global
  247. .RS 4
  248. For writing options: write to global
  249. \fB~/\&.gitconfig\fR
  250. file rather than the repository \&.\fBgit/config\fR, write to
  251. \fB$XDG_CONFIG_HOME/git/config\fR
  252. file if this file exists and the
  253. \fB~/\&.gitconfig\fR
  254. file doesn\(cqt\&.
  255. .sp
  256. For reading options: read only from global
  257. \fB~/\&.gitconfig\fR
  258. and from
  259. \fB$XDG_CONFIG_HOME/git/config\fR
  260. rather than from all available files\&.
  261. .sp
  262. See also
  263. the section called \(lqFILES\(rq\&.
  264. .RE
  265. .PP
  266. \-\-system
  267. .RS 4
  268. For writing options: write to system\-wide
  269. \fB$\fR(\fBprefix\fR)\fB/etc/gitconfig\fR
  270. rather than the repository \&.\fBgit/config\fR\&.
  271. .sp
  272. For reading options: read only from system\-wide
  273. \fB$\fR(\fBprefix\fR)\fB/etc/gitconfig\fR
  274. rather than from all available files\&.
  275. .sp
  276. See also
  277. the section called \(lqFILES\(rq\&.
  278. .RE
  279. .PP
  280. \-\-local
  281. .RS 4
  282. For writing options: write to the repository \&.\fBgit/config\fR
  283. file\&. This is the default behavior\&.
  284. .sp
  285. For reading options: read only from the repository \&.\fBgit/config\fR
  286. rather than from all available files\&.
  287. .sp
  288. See also
  289. the section called \(lqFILES\(rq\&.
  290. .RE
  291. .PP
  292. \-\-worktree
  293. .RS 4
  294. Similar to
  295. \fB\-\-local\fR
  296. except that
  297. \fB$GIT_DIR/config\&.worktree\fR
  298. is read from or written to if
  299. \fBextensions\&.worktreeConfig\fR
  300. is enabled\&. If not it\(cqs the same as
  301. \fB\-\-local\fR\&. Note that
  302. \fB$GIT_DIR\fR
  303. is equal to
  304. \fB$GIT_COMMON_DIR\fR
  305. for the main working tree, but is of the form
  306. \fB$GIT_DIR/worktrees/\fR\fI<id>\fR\fB/\fR
  307. for other working trees\&. See
  308. \fBgit-worktree\fR(1)
  309. to learn how to enable
  310. \fBextensions\&.worktreeConfig\fR\&.
  311. .RE
  312. .PP
  313. \-f <config\-file>, \-\-file <config\-file>
  314. .RS 4
  315. For writing options: write to the specified file rather than the repository \&.\fBgit/config\fR\&.
  316. .sp
  317. For reading options: read only from the specified file rather than from all available files\&.
  318. .sp
  319. See also
  320. the section called \(lqFILES\(rq\&.
  321. .RE
  322. .PP
  323. \-\-blob <blob>
  324. .RS 4
  325. Similar to
  326. \fB\-\-file\fR
  327. but use the given blob instead of a file\&. E\&.g\&. you can use
  328. \fImaster:\&.gitmodules\fR
  329. to read values from the file
  330. \fI\&.gitmodules\fR
  331. in the master branch\&. See "SPECIFYING REVISIONS" section in
  332. \fBgitrevisions\fR(7)
  333. for a more complete list of ways to spell blob names\&.
  334. .RE
  335. .PP
  336. \-\-fixed\-value
  337. .RS 4
  338. When used with the
  339. \fBvalue\-pattern\fR
  340. argument, treat
  341. \fBvalue\-pattern\fR
  342. as an exact string instead of a regular expression\&. This will restrict the name/value pairs that are matched to only those where the value is exactly equal to the
  343. \fBvalue\-pattern\fR\&.
  344. .RE
  345. .PP
  346. \-\-type <type>
  347. .RS 4
  348. \fIgit config\fR
  349. will ensure that any input or output is valid under the given type constraint(s), and will canonicalize outgoing values in
  350. \fI<type>\fR\*(Aqs canonical form\&.
  351. .sp
  352. Valid
  353. \fI<type>\fR\*(Aqs include:
  354. .sp
  355. .RS 4
  356. .ie n \{\
  357. \h'-04'\(bu\h'+03'\c
  358. .\}
  359. .el \{\
  360. .sp -1
  361. .IP \(bu 2.3
  362. .\}
  363. \fIbool\fR: canonicalize values
  364. \fBtrue\fR,
  365. \fByes\fR,\fBon\fR, and positive numbers as "true", and values
  366. \fBfalse\fR,
  367. \fBno\fR,
  368. \fBoff\fR
  369. and
  370. \fB0\fR
  371. as "false"\&.
  372. .RE
  373. .sp
  374. .RS 4
  375. .ie n \{\
  376. \h'-04'\(bu\h'+03'\c
  377. .\}
  378. .el \{\
  379. .sp -1
  380. .IP \(bu 2.3
  381. .\}
  382. \fIint\fR: canonicalize values as simple decimal numbers\&. An optional suffix of
  383. \fIk\fR,
  384. \fIm\fR, or
  385. \fIg\fR
  386. will cause the value to be multiplied by 1024, 1048576, or 1073741824 upon input\&.
  387. .RE
  388. .sp
  389. .RS 4
  390. .ie n \{\
  391. \h'-04'\(bu\h'+03'\c
  392. .\}
  393. .el \{\
  394. .sp -1
  395. .IP \(bu 2.3
  396. .\}
  397. \fIbool\-or\-int\fR: canonicalize according to either
  398. \fIbool\fR
  399. or
  400. \fIint\fR, as described above\&.
  401. .RE
  402. .sp
  403. .RS 4
  404. .ie n \{\
  405. \h'-04'\(bu\h'+03'\c
  406. .\}
  407. .el \{\
  408. .sp -1
  409. .IP \(bu 2.3
  410. .\}
  411. \fIpath\fR: canonicalize by expanding a leading
  412. \fB~\fR
  413. to the value of
  414. \fB$HOME\fR
  415. and
  416. \fB~user\fR
  417. to the home directory for the specified user\&. This specifier has no effect when setting the value (but you can use
  418. \fBgit\fR
  419. \fBconfig\fR
  420. \fBsection\&.variable\fR
  421. \fB~/\fR
  422. from the command line to let your shell do the expansion\&.)
  423. .RE
  424. .sp
  425. .RS 4
  426. .ie n \{\
  427. \h'-04'\(bu\h'+03'\c
  428. .\}
  429. .el \{\
  430. .sp -1
  431. .IP \(bu 2.3
  432. .\}
  433. \fIexpiry\-date\fR: canonicalize by converting from a fixed or relative date\-string to a timestamp\&. This specifier has no effect when setting the value\&.
  434. .RE
  435. .sp
  436. .RS 4
  437. .ie n \{\
  438. \h'-04'\(bu\h'+03'\c
  439. .\}
  440. .el \{\
  441. .sp -1
  442. .IP \(bu 2.3
  443. .\}
  444. \fIcolor\fR: When getting a value, canonicalize by converting to an ANSI color escape sequence\&. When setting a value, a sanity\-check is performed to ensure that the given value is canonicalize\-able as an ANSI color, but it is written as\-is\&.
  445. .RE
  446. .RE
  447. .PP
  448. \-\-bool, \-\-int, \-\-bool\-or\-int, \-\-path, \-\-expiry\-date
  449. .RS 4
  450. Historical options for selecting a type specifier\&. Prefer instead
  451. \fB\-\-type\fR
  452. (see above)\&.
  453. .RE
  454. .PP
  455. \-\-no\-type
  456. .RS 4
  457. Un\-sets the previously set type specifier (if one was previously set)\&. This option requests that
  458. \fIgit config\fR
  459. not canonicalize the retrieved variable\&.
  460. \fB\-\-no\-type\fR
  461. has no effect without
  462. \fB\-\-type=\fR\fI<type>\fR
  463. or
  464. \fB\-\-\fR\fI<type>\fR\&.
  465. .RE
  466. .PP
  467. \-z, \-\-null
  468. .RS 4
  469. For all options that output values and/or keys, always end values with the null character (instead of a newline)\&. Use newline instead as a delimiter between key and value\&. This allows for secure parsing of the output without getting confused e\&.g\&. by values that contain line breaks\&.
  470. .RE
  471. .PP
  472. \-\-name\-only
  473. .RS 4
  474. Output only the names of config variables for
  475. \fBlist\fR
  476. or
  477. \fBget\fR\&.
  478. .RE
  479. .PP
  480. \-\-show\-origin
  481. .RS 4
  482. Augment the output of all queried config options with the origin type (file, standard input, blob, command line) and the actual origin (config file path, ref, or blob id if applicable)\&.
  483. .RE
  484. .PP
  485. \-\-show\-scope
  486. .RS 4
  487. Similar to
  488. \fB\-\-show\-origin\fR
  489. in that it augments the output of all queried config options with the scope of that value (worktree, local, global, system, command)\&.
  490. .RE
  491. .PP
  492. \-\-get\-colorbool <name> [<stdout\-is\-tty>]
  493. .RS 4
  494. Find the color setting for
  495. \fI<name>\fR
  496. (e\&.g\&.
  497. \fBcolor\&.diff\fR) and output "true" or "false"\&.
  498. \fI<stdout\-is\-tty>\fR
  499. should be either "true" or "false", and is taken into account when configuration says "auto"\&. If
  500. \fI<stdout\-is\-tty>\fR
  501. is missing, then checks the standard output of the command itself, and exits with status 0 if color is to be used, or exits with status 1 otherwise\&. When the color setting for
  502. \fBname\fR
  503. is undefined, the command uses
  504. \fBcolor\&.ui\fR
  505. as fallback\&.
  506. .RE
  507. .PP
  508. \-\-[no\-]includes
  509. .RS 4
  510. Respect
  511. \fBinclude\&.\fR* directives in config files when looking up values\&. Defaults to
  512. \fBoff\fR
  513. when a specific file is given (e\&.g\&., using
  514. \fB\-\-file\fR,
  515. \fB\-\-global\fR, etc) and
  516. \fBon\fR
  517. when searching all config files\&.
  518. .RE
  519. .PP
  520. \-\-default <value>
  521. .RS 4
  522. When using
  523. \fBget\fR, and the requested variable is not found, behave as if <value> were the value assigned to that variable\&.
  524. .RE
  525. .SH "DEPRECATED MODES"
  526. .sp
  527. The following modes have been deprecated in favor of subcommands\&. It is recommended to migrate to the new syntax\&.
  528. .PP
  529. \fIgit config <name>\fR
  530. .RS 4
  531. Replaced by
  532. \fBgit\fR
  533. \fBconfig\fR
  534. \fBget\fR
  535. \fI<name>\fR\&.
  536. .RE
  537. .PP
  538. \fIgit config <name> <value> [<value\-pattern>]\fR
  539. .RS 4
  540. Replaced by
  541. \fBgit\fR
  542. \fBconfig\fR
  543. \fBset\fR
  544. [\fB\-\-value=\fR\fI<pattern>\fR]
  545. \fI<name>\fR
  546. \fI<value>\fR\&.
  547. .RE
  548. .PP
  549. \-l, \-\-list
  550. .RS 4
  551. Replaced by
  552. \fBgit\fR
  553. \fBconfig\fR
  554. \fBlist\fR\&.
  555. .RE
  556. .PP
  557. \-\-get <name> [<value\-pattern>]
  558. .RS 4
  559. Replaced by
  560. \fBgit\fR
  561. \fBconfig\fR
  562. \fBget\fR
  563. [\fB\-\-value=\fR\fI<pattern>\fR]
  564. \fI<name>\fR\&.
  565. .RE
  566. .PP
  567. \-\-get\-all <name> [<value\-pattern>]
  568. .RS 4
  569. Replaced by
  570. \fBgit\fR
  571. \fBconfig\fR
  572. \fBget\fR
  573. [\fB\-\-value=\fR\fI<pattern>\fR]
  574. \fB\-\-all\fR
  575. \fI<name>\fR\&.
  576. .RE
  577. .PP
  578. \-\-get\-regexp <name\-regexp>
  579. .RS 4
  580. Replaced by
  581. \fBgit\fR
  582. \fBconfig\fR
  583. \fBget\fR
  584. \fB\-\-all\fR
  585. \fB\-\-show\-names\fR
  586. \fB\-\-regexp\fR
  587. \fI<name\-regexp>\fR\&.
  588. .RE
  589. .PP
  590. \-\-get\-urlmatch <name> <URL>
  591. .RS 4
  592. Replaced by
  593. \fBgit\fR
  594. \fBconfig\fR
  595. \fBget\fR
  596. \fB\-\-all\fR
  597. \fB\-\-show\-names\fR
  598. \fB\-\-url=\fR\fI<URL>\fR
  599. \fI<name>\fR\&.
  600. .RE
  601. .PP
  602. \-\-get\-color <name> [<default>]
  603. .RS 4
  604. Replaced by
  605. \fBgit\fR
  606. \fBconfig\fR
  607. \fBget\fR
  608. \fB\-\-type=color\fR
  609. [\fB\-\-default=\fR\fI<default>\fR]
  610. \fI<name>\fR\&.
  611. .RE
  612. .PP
  613. \-\-add <name> <value>
  614. .RS 4
  615. Replaced by
  616. \fBgit\fR
  617. \fBconfig\fR
  618. \fBset\fR
  619. \fB\-\-append\fR
  620. \fI<name>\fR
  621. \fI<value>\fR\&.
  622. .RE
  623. .PP
  624. \-\-unset <name> [<value\-pattern>]
  625. .RS 4
  626. Replaced by
  627. \fBgit\fR
  628. \fBconfig\fR
  629. \fBunset\fR
  630. [\fB\-\-value=\fR\fI<pattern>\fR]
  631. \fI<name>\fR\&.
  632. .RE
  633. .PP
  634. \-\-unset\-all <name> [<value\-pattern>]
  635. .RS 4
  636. Replaced by
  637. \fBgit\fR
  638. \fBconfig\fR
  639. \fBunset\fR
  640. [\fB\-\-value=\fR\fI<pattern>\fR]
  641. \fB\-\-all\fR
  642. \fI<name>\fR\&.
  643. .RE
  644. .PP
  645. \-\-rename\-section <old\-name> <new\-name>
  646. .RS 4
  647. Replaced by
  648. \fBgit\fR
  649. \fBconfig\fR
  650. \fBrename\-section\fR
  651. \fI<old\-name>\fR
  652. \fI<new\-name>\fR\&.
  653. .RE
  654. .PP
  655. \-\-remove\-section <name>
  656. .RS 4
  657. Replaced by
  658. \fBgit\fR
  659. \fBconfig\fR
  660. \fBremove\-section\fR
  661. \fI<name>\fR\&.
  662. .RE
  663. .PP
  664. \-e, \-\-edit
  665. .RS 4
  666. Replaced by
  667. \fBgit\fR
  668. \fBconfig\fR
  669. \fBedit\fR\&.
  670. .RE
  671. .SH "CONFIGURATION"
  672. .sp
  673. \fBpager\&.config\fR is only respected when listing configuration, i\&.e\&., when using \fBlist\fR or \fBget\fR which may return multiple results\&. The default is to use a pager\&.
  674. .SH "FILES"
  675. .sp
  676. By default, \fIgit config\fR will read configuration options from multiple files:
  677. .PP
  678. $(prefix)/etc/gitconfig
  679. .RS 4
  680. System\-wide configuration file\&.
  681. .RE
  682. .PP
  683. $XDG_CONFIG_HOME/git/config, ~/\&.gitconfig
  684. .RS 4
  685. User\-specific configuration files\&. When the XDG_CONFIG_HOME environment variable is not set or empty, $HOME/\&.config/ is used as $XDG_CONFIG_HOME\&.
  686. .sp
  687. These are also called "global" configuration files\&. If both files exist, both files are read in the order given above\&.
  688. .RE
  689. .PP
  690. $GIT_DIR/config
  691. .RS 4
  692. Repository specific configuration file\&.
  693. .RE
  694. .PP
  695. $GIT_DIR/config\&.worktree
  696. .RS 4
  697. This is optional and is only searched when
  698. \fBextensions\&.worktreeConfig\fR
  699. is present in $GIT_DIR/config\&.
  700. .RE
  701. .sp
  702. You may also provide additional configuration parameters when running any git command by using the \fB\-c\fR option\&. See \fBgit\fR(1) for details\&.
  703. .sp
  704. Options will be read from all of these files that are available\&. If the global or the system\-wide configuration files are missing or unreadable they will be ignored\&. If the repository configuration file is missing or unreadable, \fIgit config\fR will exit with a non\-zero error code\&. An error message is produced if the file is unreadable, but not if it is missing\&.
  705. .sp
  706. The files are read in the order given above, with last value found taking precedence over values read earlier\&. When multiple values are taken then all values of a key from all files will be used\&.
  707. .sp
  708. By default, options are only written to the repository specific configuration file\&. Note that this also affects options like \fBset\fR and \fBunset\fR\&. \fB\fIgit config\fR\fR\fB will only ever change one file at a time\fR\&.
  709. .sp
  710. You can limit which configuration sources are read from or written to by specifying the path of a file with the \fB\-\-file\fR option, or by specifying a configuration scope with \fB\-\-system\fR, \fB\-\-global\fR, \fB\-\-local\fR, or \fB\-\-worktree\fR\&. For more, see the section called \(lqOPTIONS\(rq above\&.
  711. .SH "SCOPES"
  712. .sp
  713. Each configuration source falls within a configuration scope\&. The scopes are:
  714. .PP
  715. system
  716. .RS 4
  717. $(prefix)/etc/gitconfig
  718. .RE
  719. .PP
  720. global
  721. .RS 4
  722. $XDG_CONFIG_HOME/git/config
  723. .sp
  724. ~/\&.gitconfig
  725. .RE
  726. .PP
  727. local
  728. .RS 4
  729. $GIT_DIR/config
  730. .RE
  731. .PP
  732. worktree
  733. .RS 4
  734. $GIT_DIR/config\&.worktree
  735. .RE
  736. .PP
  737. command
  738. .RS 4
  739. GIT_CONFIG_{COUNT,KEY,VALUE} environment variables (see
  740. the section called \(lqENVIRONMENT\(rq
  741. below)
  742. .sp
  743. the
  744. \fB\-c\fR
  745. option
  746. .RE
  747. .sp
  748. With the exception of \fIcommand\fR, each scope corresponds to a command line option: \fB\-\-system\fR, \fB\-\-global\fR, \fB\-\-local\fR, \fB\-\-worktree\fR\&.
  749. .sp
  750. When reading options, specifying a scope will only read options from the files within that scope\&. When writing options, specifying a scope will write to the files within that scope (instead of the repository specific configuration file)\&. See the section called \(lqOPTIONS\(rq above for a complete description\&.
  751. .sp
  752. Most configuration options are respected regardless of the scope it is defined in, but some options are only respected in certain scopes\&. See the respective option\(cqs documentation for the full details\&.
  753. .SS "Protected configuration"
  754. .sp
  755. Protected configuration refers to the \fIsystem\fR, \fIglobal\fR, and \fIcommand\fR scopes\&. For security reasons, certain options are only respected when they are specified in protected configuration, and ignored otherwise\&.
  756. .sp
  757. Git treats these scopes as if they are controlled by the user or a trusted administrator\&. This is because an attacker who controls these scopes can do substantial harm without using Git, so it is assumed that the user\(cqs environment protects these scopes against attackers\&.
  758. .SH "ENVIRONMENT"
  759. .PP
  760. GIT_CONFIG_GLOBAL, GIT_CONFIG_SYSTEM
  761. .RS 4
  762. Take the configuration from the given files instead from global or system\-level configuration\&. See
  763. \fBgit\fR(1)
  764. for details\&.
  765. .RE
  766. .PP
  767. GIT_CONFIG_NOSYSTEM
  768. .RS 4
  769. Whether to skip reading settings from the system\-wide $(prefix)/etc/gitconfig file\&. See
  770. \fBgit\fR(1)
  771. for details\&.
  772. .RE
  773. .sp
  774. See also the section called \(lqFILES\(rq\&.
  775. .PP
  776. GIT_CONFIG_COUNT, GIT_CONFIG_KEY_<n>, GIT_CONFIG_VALUE_<n>
  777. .RS 4
  778. If GIT_CONFIG_COUNT is set to a positive number, all environment pairs GIT_CONFIG_KEY_<n> and GIT_CONFIG_VALUE_<n> up to that number will be added to the process\(cqs runtime configuration\&. The config pairs are zero\-indexed\&. Any missing key or value is treated as an error\&. An empty GIT_CONFIG_COUNT is treated the same as GIT_CONFIG_COUNT=0, namely no pairs are processed\&. These environment variables will override values in configuration files, but will be overridden by any explicit options passed via
  779. \fBgit\fR
  780. \fB\-c\fR\&.
  781. .sp
  782. This is useful for cases where you want to spawn multiple git commands with a common configuration but cannot depend on a configuration file, for example when writing scripts\&.
  783. .RE
  784. .PP
  785. GIT_CONFIG
  786. .RS 4
  787. If no
  788. \fB\-\-file\fR
  789. option is provided to
  790. \fBgit\fR
  791. \fBconfig\fR, use the file given by
  792. \fBGIT_CONFIG\fR
  793. as if it were provided via
  794. \fB\-\-file\fR\&. This variable has no effect on other Git commands, and is mostly for historical compatibility; there is generally no reason to use it instead of the
  795. \fB\-\-file\fR
  796. option\&.
  797. .RE
  798. .SH "EXAMPLES"
  799. .sp
  800. Given a \&.git/config like this:
  801. .sp
  802. .if n \{\
  803. .RS 4
  804. .\}
  805. .nf
  806. #
  807. # This is the config file, and
  808. # a \*(Aq#\*(Aq or \*(Aq;\*(Aq character indicates
  809. # a comment
  810. #
  811. ; core variables
  812. [core]
  813. ; Don\*(Aqt trust file modes
  814. filemode = false
  815. ; Our diff algorithm
  816. [diff]
  817. external = /usr/local/bin/diff\-wrapper
  818. renames = true
  819. ; Proxy settings
  820. [core]
  821. gitproxy=proxy\-command for kernel\&.org
  822. gitproxy=default\-proxy ; for all the rest
  823. ; HTTP
  824. [http]
  825. sslVerify
  826. [http "https://weak\&.example\&.com"]
  827. sslVerify = false
  828. cookieFile = /tmp/cookie\&.txt
  829. .fi
  830. .if n \{\
  831. .RE
  832. .\}
  833. .sp
  834. you can set the filemode to true with
  835. .sp
  836. .if n \{\
  837. .RS 4
  838. .\}
  839. .nf
  840. % git config set core\&.filemode true
  841. .fi
  842. .if n \{\
  843. .RE
  844. .\}
  845. .sp
  846. The hypothetical proxy command entries actually have a postfix to discern what URL they apply to\&. Here is how to change the entry for kernel\&.org to "ssh"\&.
  847. .sp
  848. .if n \{\
  849. .RS 4
  850. .\}
  851. .nf
  852. % git config set \-\-value=\*(Aqfor kernel\&.org$\*(Aq core\&.gitproxy \*(Aq"ssh" for kernel\&.org\*(Aq
  853. .fi
  854. .if n \{\
  855. .RE
  856. .\}
  857. .sp
  858. This makes sure that only the key/value pair for kernel\&.org is replaced\&.
  859. .sp
  860. To delete the entry for renames, do
  861. .sp
  862. .if n \{\
  863. .RS 4
  864. .\}
  865. .nf
  866. % git config unset diff\&.renames
  867. .fi
  868. .if n \{\
  869. .RE
  870. .\}
  871. .sp
  872. If you want to delete an entry for a multivar (like core\&.gitproxy above), you have to provide a regex matching the value of exactly one line\&.
  873. .sp
  874. To query the value for a given key, do
  875. .sp
  876. .if n \{\
  877. .RS 4
  878. .\}
  879. .nf
  880. % git config get core\&.filemode
  881. .fi
  882. .if n \{\
  883. .RE
  884. .\}
  885. .sp
  886. or, to query a multivar:
  887. .sp
  888. .if n \{\
  889. .RS 4
  890. .\}
  891. .nf
  892. % git config get \-\-value="for kernel\&.org$" core\&.gitproxy
  893. .fi
  894. .if n \{\
  895. .RE
  896. .\}
  897. .sp
  898. If you want to know all the values for a multivar, do:
  899. .sp
  900. .if n \{\
  901. .RS 4
  902. .\}
  903. .nf
  904. % git config get \-\-all \-\-show\-names core\&.gitproxy
  905. .fi
  906. .if n \{\
  907. .RE
  908. .\}
  909. .sp
  910. If you like to live dangerously, you can replace \fBall\fR core\&.gitproxy by a new one with
  911. .sp
  912. .if n \{\
  913. .RS 4
  914. .\}
  915. .nf
  916. % git config set \-\-all core\&.gitproxy ssh
  917. .fi
  918. .if n \{\
  919. .RE
  920. .\}
  921. .sp
  922. However, if you really only want to replace the line for the default proxy, i\&.e\&. the one without a "for \&...\:" postfix, do something like this:
  923. .sp
  924. .if n \{\
  925. .RS 4
  926. .\}
  927. .nf
  928. % git config set \-\-value=\*(Aq! for \*(Aq core\&.gitproxy ssh
  929. .fi
  930. .if n \{\
  931. .RE
  932. .\}
  933. .sp
  934. To actually match only values with an exclamation mark, you have to
  935. .sp
  936. .if n \{\
  937. .RS 4
  938. .\}
  939. .nf
  940. % git config set \-\-value=\*(Aq[!]\*(Aq section\&.key value
  941. .fi
  942. .if n \{\
  943. .RE
  944. .\}
  945. .sp
  946. To add a new proxy, without altering any of the existing ones, use
  947. .sp
  948. .if n \{\
  949. .RS 4
  950. .\}
  951. .nf
  952. % git config set \-\-append core\&.gitproxy \*(Aq"proxy\-command" for example\&.com\*(Aq
  953. .fi
  954. .if n \{\
  955. .RE
  956. .\}
  957. .sp
  958. An example to use customized color from the configuration in your script:
  959. .sp
  960. .if n \{\
  961. .RS 4
  962. .\}
  963. .nf
  964. #!/bin/sh
  965. WS=$(git config get \-\-type=color \-\-default="blue reverse" color\&.diff\&.whitespace)
  966. RESET=$(git config get \-\-type=color \-\-default="reset" "")
  967. echo "${WS}your whitespace color or blue reverse${RESET}"
  968. .fi
  969. .if n \{\
  970. .RE
  971. .\}
  972. .sp
  973. For URLs in \fBhttps://weak\&.example\&.com\fR, \fBhttp\&.sslVerify\fR is set to false, while it is set to \fBtrue\fR for all others:
  974. .sp
  975. .if n \{\
  976. .RS 4
  977. .\}
  978. .nf
  979. % git config get \-\-type=bool \-\-url=https://good\&.example\&.com http\&.sslverify
  980. true
  981. % git config get \-\-type=bool \-\-url=https://weak\&.example\&.com http\&.sslverify
  982. false
  983. % git config get \-\-url=https://weak\&.example\&.com http
  984. http\&.cookieFile /tmp/cookie\&.txt
  985. http\&.sslverify false
  986. .fi
  987. .if n \{\
  988. .RE
  989. .\}
  990. .SH "CONFIGURATION FILE"
  991. .sp
  992. The Git configuration file contains a number of variables that affect the Git commands\*(Aq behavior\&. The files \&.\fBgit/config\fR and optionally \fBconfig\&.worktree\fR (see the "CONFIGURATION FILE" section of \fBgit-worktree\fR(1)) in each repository are used to store the configuration for that repository, and \fB$HOME/\&.gitconfig\fR is used to store a per\-user configuration as fallback values for the \&.\fBgit/config\fR file\&. The file \fB/etc/gitconfig\fR can be used to store a system\-wide default configuration\&.
  993. .sp
  994. The configuration variables are used by both the Git plumbing and the porcelain commands\&. The variables are divided into sections, wherein the fully qualified variable name of the variable itself is the last dot\-separated segment and the section name is everything before the last dot\&. The variable names are case\-insensitive, allow only alphanumeric characters and \fB\-\fR, and must start with an alphabetic character\&. Some variables may appear multiple times; we say then that the variable is multivalued\&.
  995. .SS "Syntax"
  996. .sp
  997. The syntax is fairly flexible and permissive\&. Whitespace characters, which in this context are the space character (SP) and the horizontal tabulation (HT), are mostly ignored\&. The \fI#\fR and \fI;\fR characters begin comments to the end of line\&. Blank lines are ignored\&.
  998. .sp
  999. The file consists of sections and variables\&. A section begins with the name of the section in square brackets and continues until the next section begins\&. Section names are case\-insensitive\&. Only alphanumeric characters, \fB\-\fR and \&. are allowed in section names\&. Each variable must belong to some section, which means that there must be a section header before the first setting of a variable\&.
  1000. .sp
  1001. Sections can be further divided into subsections\&. To begin a subsection put its name in double quotes, separated by space from the section name, in the section header, like in the example below:
  1002. .sp
  1003. .if n \{\
  1004. .RS 4
  1005. .\}
  1006. .nf
  1007. [section "subsection"]
  1008. .fi
  1009. .if n \{\
  1010. .RE
  1011. .\}
  1012. .sp
  1013. Subsection names are case sensitive and can contain any characters except newline and the null byte\&. Doublequote " and backslash can be included by escaping them as \e" and \e\e, respectively\&. Backslashes preceding other characters are dropped when reading; for example, \et is read as \fBt\fR and \e0 is read as \fB0\fR\&. Section headers cannot span multiple lines\&. Variables may belong directly to a section or to a given subsection\&. You can have [\fBsection\fR] if you have [\fBsection\fR "subsection"], but you don\(cqt need to\&.
  1014. .sp
  1015. There is also a deprecated [\fBsection\&.subsection\fR] syntax\&. With this syntax, the subsection name is converted to lower\-case and is also compared case sensitively\&. These subsection names follow the same restrictions as section names\&.
  1016. .sp
  1017. All the other lines (and the remainder of the line after the section header) are recognized as setting variables, in the form \fIname = value\fR (or just \fIname\fR, which is a short\-hand to say that the variable is the boolean "true")\&. The variable names are case\-insensitive, allow only alphanumeric characters and \fB\-\fR, and must start with an alphabetic character\&.
  1018. .sp
  1019. Whitespace characters surrounding \fBname\fR, \fB=\fR and \fBvalue\fR are discarded\&. Internal whitespace characters within \fIvalue\fR are retained verbatim\&. Comments starting with either # or ; and extending to the end of line are discarded\&. A line that defines a value can be continued to the next line by ending it with a backslash (\e); the backslash and the end\-of\-line characters are discarded\&.
  1020. .sp
  1021. If \fBvalue\fR needs to contain leading or trailing whitespace characters, it must be enclosed in double quotation marks (")\&. Inside double quotation marks, double quote (") and backslash (\e) characters must be escaped: use \e" for " and \e\e for \e\&.
  1022. .sp
  1023. The following escape sequences (beside \e" and \e\e) are recognized: \en for newline character (NL), \et for horizontal tabulation (HT, TAB) and \eb for backspace (BS)\&. Other char escape sequences (including octal escape sequences) are invalid\&.
  1024. .SS "Includes"
  1025. .sp
  1026. The \fBinclude\fR and \fBincludeIf\fR sections allow you to include config directives from another source\&. These sections behave identically to each other with the exception that \fBincludeIf\fR sections may be ignored if their condition does not evaluate to true; see "Conditional includes" below\&.
  1027. .sp
  1028. You can include a config file from another by setting the special \fBinclude\&.path\fR (or \fBincludeIf\&.\fR*\&.\fBpath\fR) variable to the name of the file to be included\&. The variable takes a pathname as its value, and is subject to tilde expansion\&. These variables can be given multiple times\&.
  1029. .sp
  1030. The contents of the included file are inserted immediately, as if they had been found at the location of the include directive\&. If the value of the variable is a relative path, the path is considered to be relative to the configuration file in which the include directive was found\&. See below for examples\&.
  1031. .SS "Conditional includes"
  1032. .sp
  1033. You can conditionally include a config file from another by setting an \fBincludeIf\&.\fR\fI<condition>\fR\fB\&.path\fR variable to the name of the file to be included\&.
  1034. .sp
  1035. The condition starts with a keyword followed by a colon and some data whose format and meaning depends on the keyword\&. Supported keywords are:
  1036. .PP
  1037. \fBgitdir\fR
  1038. .RS 4
  1039. The data that follows the keyword
  1040. \fBgitdir:\fR
  1041. is used as a glob pattern\&. If the location of the \&.git directory matches the pattern, the include condition is met\&.
  1042. .sp
  1043. The \&.git location may be auto\-discovered, or come from
  1044. \fB$GIT_DIR\fR
  1045. environment variable\&. If the repository is auto\-discovered via a \&.git file (e\&.g\&. from submodules, or a linked worktree), the \&.git location would be the final location where the \&.git directory is, not where the \&.git file is\&.
  1046. .sp
  1047. The pattern can contain standard globbing wildcards and two additional ones, **/ and
  1048. \fB/\fR**, that can match multiple path components\&. Please refer to
  1049. \fBgitignore\fR(5)
  1050. for details\&. For convenience:
  1051. .sp
  1052. .RS 4
  1053. .ie n \{\
  1054. \h'-04'\(bu\h'+03'\c
  1055. .\}
  1056. .el \{\
  1057. .sp -1
  1058. .IP \(bu 2.3
  1059. .\}
  1060. If the pattern starts with
  1061. \fB~/\fR,
  1062. \fB~\fR
  1063. will be substituted with the content of the environment variable
  1064. \fBHOME\fR\&.
  1065. .RE
  1066. .sp
  1067. .RS 4
  1068. .ie n \{\
  1069. \h'-04'\(bu\h'+03'\c
  1070. .\}
  1071. .el \{\
  1072. .sp -1
  1073. .IP \(bu 2.3
  1074. .\}
  1075. If the pattern starts with \&.\fB/\fR, it is replaced with the directory containing the current config file\&.
  1076. .RE
  1077. .sp
  1078. .RS 4
  1079. .ie n \{\
  1080. \h'-04'\(bu\h'+03'\c
  1081. .\}
  1082. .el \{\
  1083. .sp -1
  1084. .IP \(bu 2.3
  1085. .\}
  1086. If the pattern does not start with either
  1087. \fB~/\fR, \&.\fB/\fR
  1088. or
  1089. \fB/\fR, **/ will be automatically prepended\&. For example, the pattern
  1090. \fBfoo/bar\fR
  1091. becomes **/foo/bar and would match
  1092. \fB/any/path/to/foo/bar\fR\&.
  1093. .RE
  1094. .sp
  1095. .RS 4
  1096. .ie n \{\
  1097. \h'-04'\(bu\h'+03'\c
  1098. .\}
  1099. .el \{\
  1100. .sp -1
  1101. .IP \(bu 2.3
  1102. .\}
  1103. If the pattern ends with
  1104. \fB/\fR, ** will be automatically added\&. For example, the pattern
  1105. \fBfoo/\fR
  1106. becomes
  1107. \fBfoo/\fR**\&. In other words, it matches "foo" and everything inside, recursively\&.
  1108. .RE
  1109. .RE
  1110. .PP
  1111. \fBgitdir/i\fR
  1112. .RS 4
  1113. This is the same as
  1114. \fBgitdir\fR
  1115. except that matching is done case\-insensitively (e\&.g\&. on case\-insensitive file systems)
  1116. .RE
  1117. .PP
  1118. \fBonbranch\fR
  1119. .RS 4
  1120. The data that follows the keyword
  1121. \fBonbranch:\fR
  1122. is taken to be a pattern with standard globbing wildcards and two additional ones, **/ and
  1123. \fB/\fR**, that can match multiple path components\&. If we are in a worktree where the name of the branch that is currently checked out matches the pattern, the include condition is met\&.
  1124. .sp
  1125. If the pattern ends with
  1126. \fB/\fR, ** will be automatically added\&. For example, the pattern
  1127. \fBfoo/\fR
  1128. becomes
  1129. \fBfoo/\fR**\&. In other words, it matches all branches that begin with
  1130. \fBfoo/\fR\&. This is useful if your branches are organized hierarchically and you would like to apply a configuration to all the branches in that hierarchy\&.
  1131. .RE
  1132. .PP
  1133. \fBhasconfig:remote\&.\fR*\&.\fBurl:\fR
  1134. .RS 4
  1135. The data that follows this keyword is taken to be a pattern with standard globbing wildcards and two additional ones, **/ and
  1136. \fB/\fR**, that can match multiple components\&. The first time this keyword is seen, the rest of the config files will be scanned for remote URLs (without applying any values)\&. If there exists at least one remote URL that matches this pattern, the include condition is met\&.
  1137. .sp
  1138. Files included by this option (directly or indirectly) are not allowed to contain remote URLs\&.
  1139. .sp
  1140. Note that unlike other includeIf conditions, resolving this condition relies on information that is not yet known at the point of reading the condition\&. A typical use case is this option being present as a system\-level or global\-level config, and the remote URL being in a local\-level config; hence the need to scan ahead when resolving this condition\&. In order to avoid the chicken\-and\-egg problem in which potentially\-included files can affect whether such files are potentially included, Git breaks the cycle by prohibiting these files from affecting the resolution of these conditions (thus, prohibiting them from declaring remote URLs)\&.
  1141. .sp
  1142. As for the naming of this keyword, it is for forwards compatibility with a naming scheme that supports more variable\-based include conditions, but currently Git only supports the exact keyword described above\&.
  1143. .RE
  1144. .sp
  1145. A few more notes on matching via \fBgitdir\fR and \fBgitdir/i\fR:
  1146. .sp
  1147. .RS 4
  1148. .ie n \{\
  1149. \h'-04'\(bu\h'+03'\c
  1150. .\}
  1151. .el \{\
  1152. .sp -1
  1153. .IP \(bu 2.3
  1154. .\}
  1155. Symlinks in
  1156. \fB$GIT_DIR\fR
  1157. are not resolved before matching\&.
  1158. .RE
  1159. .sp
  1160. .RS 4
  1161. .ie n \{\
  1162. \h'-04'\(bu\h'+03'\c
  1163. .\}
  1164. .el \{\
  1165. .sp -1
  1166. .IP \(bu 2.3
  1167. .\}
  1168. Both the symlink & realpath versions of paths will be matched outside of
  1169. \fB$GIT_DIR\fR\&. E\&.g\&. if ~/git is a symlink to /mnt/storage/git, both
  1170. \fBgitdir:~/git\fR
  1171. and
  1172. \fBgitdir:/mnt/storage/git\fR
  1173. will match\&.
  1174. .sp
  1175. This was not the case in the initial release of this feature in v2\&.13\&.0, which only matched the realpath version\&. Configuration that wants to be compatible with the initial release of this feature needs to either specify only the realpath version, or both versions\&.
  1176. .RE
  1177. .sp
  1178. .RS 4
  1179. .ie n \{\
  1180. \h'-04'\(bu\h'+03'\c
  1181. .\}
  1182. .el \{\
  1183. .sp -1
  1184. .IP \(bu 2.3
  1185. .\}
  1186. Note that "\&.\&./" is not special and will match literally, which is unlikely what you want\&.
  1187. .RE
  1188. .SS "Example"
  1189. .sp
  1190. .if n \{\
  1191. .RS 4
  1192. .\}
  1193. .nf
  1194. # Core variables
  1195. [core]
  1196. ; Don\*(Aqt trust file modes
  1197. filemode = false
  1198. # Our diff algorithm
  1199. [diff]
  1200. external = /usr/local/bin/diff\-wrapper
  1201. renames = true
  1202. [branch "devel"]
  1203. remote = origin
  1204. merge = refs/heads/devel
  1205. # Proxy settings
  1206. [core]
  1207. gitProxy="ssh" for "kernel\&.org"
  1208. gitProxy=default\-proxy ; for the rest
  1209. [include]
  1210. path = /path/to/foo\&.inc ; include by absolute path
  1211. path = foo\&.inc ; find "foo\&.inc" relative to the current file
  1212. path = ~/foo\&.inc ; find "foo\&.inc" in your `$HOME` directory
  1213. ; include if $GIT_DIR is /path/to/foo/\&.git
  1214. [includeIf "gitdir:/path/to/foo/\&.git"]
  1215. path = /path/to/foo\&.inc
  1216. ; include for all repositories inside /path/to/group
  1217. [includeIf "gitdir:/path/to/group/"]
  1218. path = /path/to/foo\&.inc
  1219. ; include for all repositories inside $HOME/to/group
  1220. [includeIf "gitdir:~/to/group/"]
  1221. path = /path/to/foo\&.inc
  1222. ; relative paths are always relative to the including
  1223. ; file (if the condition is true); their location is not
  1224. ; affected by the condition
  1225. [includeIf "gitdir:/path/to/group/"]
  1226. path = foo\&.inc
  1227. ; include only if we are in a worktree where foo\-branch is
  1228. ; currently checked out
  1229. [includeIf "onbranch:foo\-branch"]
  1230. path = foo\&.inc
  1231. ; include only if a remote with the given URL exists (note
  1232. ; that such a URL may be provided later in a file or in a
  1233. ; file read after this file is read, as seen in this example)
  1234. [includeIf "hasconfig:remote\&.*\&.url:https://example\&.com/**"]
  1235. path = foo\&.inc
  1236. [remote "origin"]
  1237. url = https://example\&.com/git
  1238. .fi
  1239. .if n \{\
  1240. .RE
  1241. .\}
  1242. .SS "Values"
  1243. .sp
  1244. Values of many variables are treated as a simple string, but there are variables that take values of specific types and there are rules as to how to spell them\&.
  1245. .PP
  1246. boolean
  1247. .RS 4
  1248. When a variable is said to take a boolean value, many synonyms are accepted for
  1249. \fItrue\fR
  1250. and
  1251. \fIfalse\fR; these are all case\-insensitive\&.
  1252. .PP
  1253. true
  1254. .RS 4
  1255. Boolean true literals are
  1256. \fByes\fR,
  1257. \fBon\fR,
  1258. \fBtrue\fR, and
  1259. \fB1\fR\&. Also, a variable defined without
  1260. \fB=\fR
  1261. \fI<value>\fR
  1262. is taken as true\&.
  1263. .RE
  1264. .PP
  1265. false
  1266. .RS 4
  1267. Boolean false literals are
  1268. \fBno\fR,
  1269. \fBoff\fR,
  1270. \fBfalse\fR,
  1271. \fB0\fR
  1272. and the empty string\&.
  1273. .sp
  1274. When converting a value to its canonical form using the
  1275. \fB\-\-type=bool\fR
  1276. type specifier,
  1277. \fIgit config\fR
  1278. will ensure that the output is "true" or "false" (spelled in lowercase)\&.
  1279. .RE
  1280. .RE
  1281. .PP
  1282. integer
  1283. .RS 4
  1284. The value for many variables that specify various sizes can be suffixed with
  1285. \fBk\fR,
  1286. \fBM\fR,\&...\: to mean "scale the number by 1024", "by 1024x1024", etc\&.
  1287. .RE
  1288. .PP
  1289. color
  1290. .RS 4
  1291. The value for a variable that takes a color is a list of colors (at most two, one for foreground and one for background) and attributes (as many as you want), separated by spaces\&.
  1292. .sp
  1293. The basic colors accepted are
  1294. \fBnormal\fR,
  1295. \fBblack\fR,
  1296. \fBred\fR,
  1297. \fBgreen\fR,
  1298. \fByellow\fR,
  1299. \fBblue\fR,
  1300. \fBmagenta\fR,
  1301. \fBcyan\fR,
  1302. \fBwhite\fR
  1303. and
  1304. \fBdefault\fR\&. The first color given is the foreground; the second is the background\&. All the basic colors except
  1305. \fBnormal\fR
  1306. and
  1307. \fBdefault\fR
  1308. have a bright variant that can be specified by prefixing the color with
  1309. \fBbright\fR, like
  1310. \fBbrightred\fR\&.
  1311. .sp
  1312. The color
  1313. \fBnormal\fR
  1314. makes no change to the color\&. It is the same as an empty string, but can be used as the foreground color when specifying a background color alone (for example, "normal red")\&.
  1315. .sp
  1316. The color
  1317. \fBdefault\fR
  1318. explicitly resets the color to the terminal default, for example to specify a cleared background\&. Although it varies between terminals, this is usually not the same as setting to "white black"\&.
  1319. .sp
  1320. Colors may also be given as numbers between 0 and 255; these use ANSI 256\-color mode (but note that not all terminals may support this)\&. If your terminal supports it, you may also specify 24\-bit RGB values as hex, like #ff0ab3, or 12\-bit RGB values like #f1b, which is equivalent to the 24\-bit color #ff11bb\&.
  1321. .sp
  1322. The accepted attributes are
  1323. \fBbold\fR,
  1324. \fBdim\fR,
  1325. \fBul\fR,
  1326. \fBblink\fR,
  1327. \fBreverse\fR,
  1328. \fBitalic\fR, and
  1329. \fBstrike\fR
  1330. (for crossed\-out or "strikethrough" letters)\&. The position of any attributes with respect to the colors (before, after, or in between), doesn\(cqt matter\&. Specific attributes may be turned off by prefixing them with
  1331. \fBno\fR
  1332. or
  1333. \fBno\-\fR
  1334. (e\&.g\&.,
  1335. \fBnoreverse\fR,
  1336. \fBno\-ul\fR, etc)\&.
  1337. .sp
  1338. The pseudo\-attribute
  1339. \fBreset\fR
  1340. resets all colors and attributes before applying the specified coloring\&. For example,
  1341. \fBreset\fR
  1342. \fBgreen\fR
  1343. will result in a green foreground and default background without any active attributes\&.
  1344. .sp
  1345. An empty color string produces no color effect at all\&. This can be used to avoid coloring specific elements without disabling color entirely\&.
  1346. .sp
  1347. For git\(cqs pre\-defined color slots, the attributes are meant to be reset at the beginning of each item in the colored output\&. So setting
  1348. \fBcolor\&.decorate\&.branch\fR
  1349. to
  1350. \fBblack\fR
  1351. will paint that branch name in a plain
  1352. \fBblack\fR, even if the previous thing on the same output line (e\&.g\&. opening parenthesis before the list of branch names in
  1353. \fBlog\fR
  1354. \fB\-\-decorate\fR
  1355. output) is set to be painted with
  1356. \fBbold\fR
  1357. or some other attribute\&. However, custom log formats may do more complicated and layered coloring, and the negated forms may be useful there\&.
  1358. .RE
  1359. .PP
  1360. pathname
  1361. .RS 4
  1362. A variable that takes a pathname value can be given a string that begins with "\fB~/\fR" or "\fB~user/\fR", and the usual tilde expansion happens to such a string:
  1363. \fB~/\fR
  1364. is expanded to the value of
  1365. \fB$HOME\fR, and
  1366. \fB~user/\fR
  1367. to the specified user\(cqs home directory\&.
  1368. .sp
  1369. If a path starts with %(\fBprefix\fR)\fB/\fR, the remainder is interpreted as a path relative to Git\(cqs "runtime prefix", i\&.e\&. relative to the location where Git itself was installed\&. For example, %(\fBprefix\fR)\fB/bin/\fR
  1370. refers to the directory in which the Git executable itself lives\&. If Git was compiled without runtime prefix support, the compiled\-in prefix will be substituted instead\&. In the unlikely event that a literal path needs to be specified that should
  1371. \fInot\fR
  1372. be expanded, it needs to be prefixed by \&.\fB/\fR, like so: \&.\fB/\fR%(\fBprefix\fR)\fB/bin\fR\&.
  1373. .RE
  1374. .SS "Variables"
  1375. .sp
  1376. Note that this list is non\-comprehensive and not necessarily complete\&. For command\-specific variables, you will find a more detailed description in the appropriate manual page\&.
  1377. .sp
  1378. Other git\-related tools may and do use their own variables\&. When inventing new variables for use in your own tool, make sure their names do not conflict with those that are used by Git itself and other popular tools, and describe them in your documentation\&.
  1379. .PP
  1380. \fBadd\&.ignoreErrors\fR, \fBadd\&.ignore\-errors\fR (deprecated)
  1381. .RS 4
  1382. Tells
  1383. \fBgit\fR
  1384. \fBadd\fR
  1385. to continue adding files when some files cannot be added due to indexing errors\&. Equivalent to the
  1386. \fB\-\-ignore\-errors\fR
  1387. option of
  1388. \fBgit-add\fR(1)\&.
  1389. \fBadd\&.ignore\-errors\fR
  1390. is deprecated, as it does not follow the usual naming convention for configuration variables\&.
  1391. .RE
  1392. .PP
  1393. advice\&.*
  1394. .RS 4
  1395. These variables control various optional help messages designed to aid new users\&. When left unconfigured, Git will give the message alongside instructions on how to squelch it\&. You can tell Git that you have understood the issue and no longer need a specific help message by setting the corresponding variable to
  1396. \fBfalse\fR\&.
  1397. .sp
  1398. As they are intended to help human users, these messages are output to the standard error\&. When tools that run Git as a subprocess find them disruptive, they can set
  1399. \fBGIT_ADVICE=0\fR
  1400. in the environment to squelch all advice messages\&.
  1401. .PP
  1402. addEmbeddedRepo
  1403. .RS 4
  1404. Shown when the user accidentally adds one git repo inside of another\&.
  1405. .RE
  1406. .PP
  1407. addEmptyPathspec
  1408. .RS 4
  1409. Shown when the user runs
  1410. \fBgit\fR
  1411. \fBadd\fR
  1412. without providing the pathspec parameter\&.
  1413. .RE
  1414. .PP
  1415. addIgnoredFile
  1416. .RS 4
  1417. Shown when the user attempts to add an ignored file to the index\&.
  1418. .RE
  1419. .PP
  1420. amWorkDir
  1421. .RS 4
  1422. Shown when
  1423. \fBgit-am\fR(1)
  1424. fails to apply a patch file, to tell the user the location of the file\&.
  1425. .RE
  1426. .PP
  1427. ambiguousFetchRefspec
  1428. .RS 4
  1429. Shown when a fetch refspec for multiple remotes maps to the same remote\-tracking branch namespace and causes branch tracking set\-up to fail\&.
  1430. .RE
  1431. .PP
  1432. checkoutAmbiguousRemoteBranchName
  1433. .RS 4
  1434. Shown when the argument to
  1435. \fBgit-checkout\fR(1)
  1436. and
  1437. \fBgit-switch\fR(1)
  1438. ambiguously resolves to a remote tracking branch on more than one remote in situations where an unambiguous argument would have otherwise caused a remote\-tracking branch to be checked out\&. See the
  1439. \fBcheckout\&.defaultRemote\fR
  1440. configuration variable for how to set a given remote to be used by default in some situations where this advice would be printed\&.
  1441. .RE
  1442. .PP
  1443. commitBeforeMerge
  1444. .RS 4
  1445. Shown when
  1446. \fBgit-merge\fR(1)
  1447. refuses to merge to avoid overwriting local changes\&.
  1448. .RE
  1449. .PP
  1450. detachedHead
  1451. .RS 4
  1452. Shown when the user uses
  1453. \fBgit-switch\fR(1)
  1454. or
  1455. \fBgit-checkout\fR(1)
  1456. to move to the detached HEAD state, to tell the user how to create a local branch after the fact\&.
  1457. .RE
  1458. .PP
  1459. diverging
  1460. .RS 4
  1461. Shown when a fast\-forward is not possible\&.
  1462. .RE
  1463. .PP
  1464. fetchShowForcedUpdates
  1465. .RS 4
  1466. Shown when
  1467. \fBgit-fetch\fR(1)
  1468. takes a long time to calculate forced updates after ref updates, or to warn that the check is disabled\&.
  1469. .RE
  1470. .PP
  1471. forceDeleteBranch
  1472. .RS 4
  1473. Shown when the user tries to delete a not fully merged branch without the force option set\&.
  1474. .RE
  1475. .PP
  1476. ignoredHook
  1477. .RS 4
  1478. Shown when a hook is ignored because the hook is not set as executable\&.
  1479. .RE
  1480. .PP
  1481. implicitIdentity
  1482. .RS 4
  1483. Shown when the user\(cqs information is guessed from the system username and domain name, to tell the user how to set their identity configuration\&.
  1484. .RE
  1485. .PP
  1486. mergeConflict
  1487. .RS 4
  1488. Shown when various commands stop because of conflicts\&.
  1489. .RE
  1490. .PP
  1491. nestedTag
  1492. .RS 4
  1493. Shown when a user attempts to recursively tag a tag object\&.
  1494. .RE
  1495. .PP
  1496. pushAlreadyExists
  1497. .RS 4
  1498. Shown when
  1499. \fBgit-push\fR(1)
  1500. rejects an update that does not qualify for fast\-forwarding (e\&.g\&., a tag\&.)
  1501. .RE
  1502. .PP
  1503. pushFetchFirst
  1504. .RS 4
  1505. Shown when
  1506. \fBgit-push\fR(1)
  1507. rejects an update that tries to overwrite a remote ref that points at an object we do not have\&.
  1508. .RE
  1509. .PP
  1510. pushNeedsForce
  1511. .RS 4
  1512. Shown when
  1513. \fBgit-push\fR(1)
  1514. rejects an update that tries to overwrite a remote ref that points at an object that is not a commit\-ish, or make the remote ref point at an object that is not a commit\-ish\&.
  1515. .RE
  1516. .PP
  1517. pushNonFFCurrent
  1518. .RS 4
  1519. Shown when
  1520. \fBgit-push\fR(1)
  1521. fails due to a non\-fast\-forward update to the current branch\&.
  1522. .RE
  1523. .PP
  1524. pushNonFFMatching
  1525. .RS 4
  1526. Shown when the user ran
  1527. \fBgit-push\fR(1)
  1528. and pushed "matching refs" explicitly (i\&.e\&. used
  1529. \fB:\fR, or specified a refspec that isn\(cqt the current branch) and it resulted in a non\-fast\-forward error\&.
  1530. .RE
  1531. .PP
  1532. pushRefNeedsUpdate
  1533. .RS 4
  1534. Shown when
  1535. \fBgit-push\fR(1)
  1536. rejects a forced update of a branch when its remote\-tracking ref has updates that we do not have locally\&.
  1537. .RE
  1538. .PP
  1539. pushUnqualifiedRefname
  1540. .RS 4
  1541. Shown when
  1542. \fBgit-push\fR(1)
  1543. gives up trying to guess based on the source and destination refs what remote ref namespace the source belongs in, but where we can still suggest that the user push to either
  1544. \fBrefs/heads/\fR* or
  1545. \fBrefs/tags/\fR* based on the type of the source object\&.
  1546. .RE
  1547. .PP
  1548. pushUpdateRejected
  1549. .RS 4
  1550. Set this variable to
  1551. \fBfalse\fR
  1552. if you want to disable
  1553. \fBpushNonFFCurrent\fR,
  1554. \fBpushNonFFMatching\fR,
  1555. \fBpushAlreadyExists\fR,
  1556. \fBpushFetchFirst\fR,
  1557. \fBpushNeedsForce\fR, and
  1558. \fBpushRefNeedsUpdate\fR
  1559. simultaneously\&.
  1560. .RE
  1561. .PP
  1562. rebaseTodoError
  1563. .RS 4
  1564. Shown when there is an error after editing the rebase todo list\&.
  1565. .RE
  1566. .PP
  1567. refSyntax
  1568. .RS 4
  1569. Shown when the user provides an illegal ref name, to tell the user about the ref syntax documentation\&.
  1570. .RE
  1571. .PP
  1572. resetNoRefresh
  1573. .RS 4
  1574. Shown when
  1575. \fBgit-reset\fR(1)
  1576. takes more than 2 seconds to refresh the index after reset, to tell the user that they can use the
  1577. \fB\-\-no\-refresh\fR
  1578. option\&.
  1579. .RE
  1580. .PP
  1581. resolveConflict
  1582. .RS 4
  1583. Shown by various commands when conflicts prevent the operation from being performed\&.
  1584. .RE
  1585. .PP
  1586. rmHints
  1587. .RS 4
  1588. Shown on failure in the output of
  1589. \fBgit-rm\fR(1), to give directions on how to proceed from the current state\&.
  1590. .RE
  1591. .PP
  1592. sequencerInUse
  1593. .RS 4
  1594. Shown when a sequencer command is already in progress\&.
  1595. .RE
  1596. .PP
  1597. skippedCherryPicks
  1598. .RS 4
  1599. Shown when
  1600. \fBgit-rebase\fR(1)
  1601. skips a commit that has already been cherry\-picked onto the upstream branch\&.
  1602. .RE
  1603. .PP
  1604. sparseIndexExpanded
  1605. .RS 4
  1606. Shown when a sparse index is expanded to a full index, which is likely due to an unexpected set of files existing outside of the sparse\-checkout\&.
  1607. .RE
  1608. .PP
  1609. statusAheadBehind
  1610. .RS 4
  1611. Shown when
  1612. \fBgit-status\fR(1)
  1613. computes the ahead/behind counts for a local ref compared to its remote tracking ref, and that calculation takes longer than expected\&. Will not appear if
  1614. \fBstatus\&.aheadBehind\fR
  1615. is false or the option
  1616. \fB\-\-no\-ahead\-behind\fR
  1617. is given\&.
  1618. .RE
  1619. .PP
  1620. statusHints
  1621. .RS 4
  1622. Show directions on how to proceed from the current state in the output of
  1623. \fBgit-status\fR(1), in the template shown when writing commit messages in
  1624. \fBgit-commit\fR(1), and in the help message shown by
  1625. \fBgit-switch\fR(1)
  1626. or
  1627. \fBgit-checkout\fR(1)
  1628. when switching branches\&.
  1629. .RE
  1630. .PP
  1631. statusUoption
  1632. .RS 4
  1633. Shown when
  1634. \fBgit-status\fR(1)
  1635. takes more than 2 seconds to enumerate untracked files, to tell the user that they can use the
  1636. \fB\-u\fR
  1637. option\&.
  1638. .RE
  1639. .PP
  1640. submoduleAlternateErrorStrategyDie
  1641. .RS 4
  1642. Shown when a submodule\&.alternateErrorStrategy option configured to "die" causes a fatal error\&.
  1643. .RE
  1644. .PP
  1645. submoduleMergeConflict
  1646. .RS 4
  1647. Advice shown when a non\-trivial submodule merge conflict is encountered\&.
  1648. .RE
  1649. .PP
  1650. submodulesNotUpdated
  1651. .RS 4
  1652. Shown when a user runs a submodule command that fails because
  1653. \fBgit\fR
  1654. \fBsubmodule\fR
  1655. \fBupdate\fR
  1656. \fB\-\-init\fR
  1657. was not run\&.
  1658. .RE
  1659. .PP
  1660. suggestDetachingHead
  1661. .RS 4
  1662. Shown when
  1663. \fBgit-switch\fR(1)
  1664. refuses to detach HEAD without the explicit
  1665. \fB\-\-detach\fR
  1666. option\&.
  1667. .RE
  1668. .PP
  1669. updateSparsePath
  1670. .RS 4
  1671. Shown when either
  1672. \fBgit-add\fR(1)
  1673. or
  1674. \fBgit-rm\fR(1)
  1675. is asked to update index entries outside the current sparse checkout\&.
  1676. .RE
  1677. .PP
  1678. waitingForEditor
  1679. .RS 4
  1680. Shown when Git is waiting for editor input\&. Relevant when e\&.g\&. the editor is not launched inside the terminal\&.
  1681. .RE
  1682. .PP
  1683. worktreeAddOrphan
  1684. .RS 4
  1685. Shown when the user tries to create a worktree from an invalid reference, to tell the user how to create a new unborn branch instead\&.
  1686. .RE
  1687. .RE
  1688. .PP
  1689. alias\&.*
  1690. .RS 4
  1691. Command aliases for the
  1692. \fBgit\fR(1)
  1693. command wrapper \- e\&.g\&. after defining
  1694. \fBalias\&.last\fR
  1695. \fB=\fR
  1696. \fBcat\-file\fR
  1697. \fBcommit\fR
  1698. \fBHEAD\fR, the invocation
  1699. \fBgit\fR
  1700. \fBlast\fR
  1701. is equivalent to
  1702. \fBgit\fR
  1703. \fBcat\-file\fR
  1704. \fBcommit\fR
  1705. \fBHEAD\fR\&. To avoid confusion and troubles with script usage, aliases that hide existing Git commands are ignored\&. Arguments are split by spaces, the usual shell quoting and escaping are supported\&. A quote pair or a backslash can be used to quote them\&.
  1706. .sp
  1707. Note that the first word of an alias does not necessarily have to be a command\&. It can be a command\-line option that will be passed into the invocation of
  1708. \fBgit\fR\&. In particular, this is useful when used with
  1709. \fB\-c\fR
  1710. to pass in one\-time configurations or
  1711. \fB\-p\fR
  1712. to force pagination\&. For example,
  1713. \fBloud\-rebase\fR
  1714. \fB=\fR
  1715. \fB\-c\fR
  1716. \fBcommit\&.verbose=true\fR
  1717. \fBrebase\fR
  1718. can be defined such that running
  1719. \fBgit\fR
  1720. \fBloud\-rebase\fR
  1721. would be equivalent to
  1722. \fBgit\fR
  1723. \fB\-c\fR
  1724. \fBcommit\&.verbose=true\fR
  1725. \fBrebase\fR\&. Also,
  1726. \fBps\fR
  1727. \fB=\fR
  1728. \fB\-p\fR
  1729. \fBstatus\fR
  1730. would be a helpful alias since
  1731. \fBgit\fR
  1732. \fBps\fR
  1733. would paginate the output of
  1734. \fBgit\fR
  1735. \fBstatus\fR
  1736. where the original command does not\&.
  1737. .sp
  1738. If the alias expansion is prefixed with an exclamation point, it will be treated as a shell command\&. For example, defining
  1739. \fBalias\&.new\fR
  1740. \fB=\fR
  1741. !gitk
  1742. \fB\-\-all\fR
  1743. \fB\-\-not\fR
  1744. \fBORIG_HEAD\fR, the invocation
  1745. \fBgit\fR
  1746. \fBnew\fR
  1747. is equivalent to running the shell command
  1748. \fBgitk\fR
  1749. \fB\-\-all\fR
  1750. \fB\-\-not\fR
  1751. \fBORIG_HEAD\fR\&. Note:
  1752. .sp
  1753. .RS 4
  1754. .ie n \{\
  1755. \h'-04'\(bu\h'+03'\c
  1756. .\}
  1757. .el \{\
  1758. .sp -1
  1759. .IP \(bu 2.3
  1760. .\}
  1761. Shell commands will be executed from the top\-level directory of a repository, which may not necessarily be the current directory\&.
  1762. .RE
  1763. .sp
  1764. .RS 4
  1765. .ie n \{\
  1766. \h'-04'\(bu\h'+03'\c
  1767. .\}
  1768. .el \{\
  1769. .sp -1
  1770. .IP \(bu 2.3
  1771. .\}
  1772. \fBGIT_PREFIX\fR
  1773. is set as returned by running
  1774. \fBgit\fR
  1775. \fBrev\-parse\fR
  1776. \fB\-\-show\-prefix\fR
  1777. from the original current directory\&. See
  1778. \fBgit-rev-parse\fR(1)\&.
  1779. .RE
  1780. .sp
  1781. .RS 4
  1782. .ie n \{\
  1783. \h'-04'\(bu\h'+03'\c
  1784. .\}
  1785. .el \{\
  1786. .sp -1
  1787. .IP \(bu 2.3
  1788. .\}
  1789. Shell command aliases always receive any extra arguments provided to the Git command\-line as positional arguments\&.
  1790. .sp
  1791. .RS 4
  1792. .ie n \{\
  1793. \h'-04'\(bu\h'+03'\c
  1794. .\}
  1795. .el \{\
  1796. .sp -1
  1797. .IP \(bu 2.3
  1798. .\}
  1799. Care should be taken if your shell alias is a "one\-liner" script with multiple commands (e\&.g\&. in a pipeline), references multiple arguments, or is otherwise not able to handle positional arguments added at the end\&. For example:
  1800. \fBalias\&.cmd\fR
  1801. \fB=\fR
  1802. "!echo
  1803. \fB$1\fR
  1804. |
  1805. \fBgrep\fR
  1806. \fB$2\fR" called as
  1807. \fBgit\fR
  1808. \fBcmd\fR
  1809. \fB1\fR
  1810. \fB2\fR
  1811. will be executed as
  1812. \fIecho $1 | grep $2 1 2\fR, which is not what you want\&.
  1813. .RE
  1814. .sp
  1815. .RS 4
  1816. .ie n \{\
  1817. \h'-04'\(bu\h'+03'\c
  1818. .\}
  1819. .el \{\
  1820. .sp -1
  1821. .IP \(bu 2.3
  1822. .\}
  1823. A convenient way to deal with this is to write your script operations in an inline function that is then called with any arguments from the command\-line\&. For example `alias\&.cmd = "!c() { echo $1 | grep $2 ; }; c" will correctly execute the prior example\&.
  1824. .RE
  1825. .sp
  1826. .RS 4
  1827. .ie n \{\
  1828. \h'-04'\(bu\h'+03'\c
  1829. .\}
  1830. .el \{\
  1831. .sp -1
  1832. .IP \(bu 2.3
  1833. .\}
  1834. Setting
  1835. \fBGIT_TRACE=1\fR
  1836. can help you debug the command being run for your alias\&.
  1837. .RE
  1838. .RE
  1839. .RE
  1840. .PP
  1841. am\&.keepcr
  1842. .RS 4
  1843. If true, git\-am will call git\-mailsplit for patches in mbox format with parameter
  1844. \fB\-\-keep\-cr\fR\&. In this case git\-mailsplit will not remove \er from lines ending with \er\en\&. Can be overridden by giving
  1845. \fB\-\-no\-keep\-cr\fR
  1846. from the command line\&. See
  1847. \fBgit-am\fR(1),
  1848. \fBgit-mailsplit\fR(1)\&.
  1849. .RE
  1850. .PP
  1851. am\&.threeWay
  1852. .RS 4
  1853. By default,
  1854. \fBgit\fR
  1855. \fBam\fR
  1856. will fail if the patch does not apply cleanly\&. When set to true, this setting tells
  1857. \fBgit\fR
  1858. \fBam\fR
  1859. to fall back on 3\-way merge if the patch records the identity of blobs it is supposed to apply to and we have those blobs available locally (equivalent to giving the
  1860. \fB\-\-3way\fR
  1861. option from the command line)\&. Defaults to
  1862. \fBfalse\fR\&. See
  1863. \fBgit-am\fR(1)\&.
  1864. .RE
  1865. .PP
  1866. apply\&.ignoreWhitespace
  1867. .RS 4
  1868. When set to
  1869. \fIchange\fR, tells
  1870. \fIgit apply\fR
  1871. to ignore changes in whitespace, in the same way as the
  1872. \fB\-\-ignore\-space\-change\fR
  1873. option\&. When set to one of: no, none, never, false, it tells
  1874. \fIgit apply\fR
  1875. to respect all whitespace differences\&. See
  1876. \fBgit-apply\fR(1)\&.
  1877. .RE
  1878. .PP
  1879. apply\&.whitespace
  1880. .RS 4
  1881. Tells
  1882. \fIgit apply\fR
  1883. how to handle whitespace, in the same way as the
  1884. \fB\-\-whitespace\fR
  1885. option\&. See
  1886. \fBgit-apply\fR(1)\&.
  1887. .RE
  1888. .PP
  1889. attr\&.tree
  1890. .RS 4
  1891. A reference to a tree in the repository from which to read attributes, instead of the \&.\fBgitattributes\fR
  1892. file in the working tree\&. If the value does not resolve to a valid tree object, an empty tree is used instead\&. When the
  1893. \fBGIT_ATTR_SOURCE\fR
  1894. environment variable or
  1895. \fB\-\-attr\-source\fR
  1896. command line option are used, this configuration variable has no effect\&.
  1897. .RE
  1898. .if n \{\
  1899. .sp
  1900. .\}
  1901. .RS 4
  1902. .it 1 an-trap
  1903. .nr an-no-space-flag 1
  1904. .nr an-break-flag 1
  1905. .br
  1906. .ps +1
  1907. \fBNote\fR
  1908. .ps -1
  1909. .br
  1910. .sp
  1911. The configuration options in \fBbitmapPseudoMerge\&.\fR* are considered EXPERIMENTAL and may be subject to change or be removed entirely in the future\&. For more information about the pseudo\-merge bitmap feature, see the "Pseudo\-merge bitmaps" section of \fBgitpacking\fR(7)\&.
  1912. .sp .5v
  1913. .RE
  1914. .PP
  1915. bitmapPseudoMerge\&.<name>\&.pattern
  1916. .RS 4
  1917. Regular expression used to match reference names\&. Commits pointed to by references matching this pattern (and meeting the below criteria, like
  1918. \fBbitmapPseudoMerge\&.\fR\fI<name>\fR\fB\&.sampleRate\fR
  1919. and
  1920. \fBbitmapPseudoMerge\&.\fR\fI<name>\fR\fB\&.threshold\fR) will be considered for inclusion in a pseudo\-merge bitmap\&.
  1921. .sp
  1922. Commits are grouped into pseudo\-merge groups based on whether or not any reference(s) that point at a given commit match the pattern, which is an extended regular expression\&.
  1923. .sp
  1924. Within a pseudo\-merge group, commits may be further grouped into sub\-groups based on the capture groups in the pattern\&. These sub\-groupings are formed from the regular expressions by concatenating any capture groups from the regular expression, with a
  1925. \fI\-\fR
  1926. dash in between\&.
  1927. .sp
  1928. For example, if the pattern is
  1929. \fBrefs/tags/\fR, then all tags (provided they meet the below criteria) will be considered candidates for the same pseudo\-merge group\&. However, if the pattern is instead
  1930. \fBrefs/remotes/\fR([\fB0\-9\fR])\fB+/tags/\fR, then tags from different remotes will be grouped into separate pseudo\-merge groups, based on the remote number\&.
  1931. .RE
  1932. .PP
  1933. bitmapPseudoMerge\&.<name>\&.decay
  1934. .RS 4
  1935. Determines the rate at which consecutive pseudo\-merge bitmap groups decrease in size\&. Must be non\-negative\&. This parameter can be thought of as
  1936. \fBk\fR
  1937. in the function
  1938. \fBf\fR(\fBn\fR)
  1939. \fB=\fR
  1940. \fBC\fR
  1941. *
  1942. \fBn^\-k\fR, where
  1943. \fBf\fR(\fBn\fR) is the size of the `n`th group\&.
  1944. .sp
  1945. Setting the decay rate equal to
  1946. \fB0\fR
  1947. will cause all groups to be the same size\&. Setting the decay rate equal to
  1948. \fB1\fR
  1949. will cause the
  1950. \fBn\fR`th
  1951. \fBgroup\fR
  1952. \fBto\fR
  1953. \fBbe\fR
  1954. `1/n the size of the initial group\&. Higher values of the decay rate cause consecutive groups to shrink at an increasing rate\&. The default is
  1955. \fB1\fR\&.
  1956. .sp
  1957. If all groups are the same size, it is possible that groups containing newer commits will be able to be used less often than earlier groups, since it is more likely that the references pointing at newer commits will be updated more often than a reference pointing at an old commit\&.
  1958. .RE
  1959. .PP
  1960. bitmapPseudoMerge\&.<name>\&.sampleRate
  1961. .RS 4
  1962. Determines the proportion of non\-bitmapped commits (among reference tips) which are selected for inclusion in an unstable pseudo\-merge bitmap\&. Must be between
  1963. \fB0\fR
  1964. and
  1965. \fB1\fR
  1966. (inclusive)\&. The default is
  1967. \fB1\fR\&.
  1968. .RE
  1969. .PP
  1970. bitmapPseudoMerge\&.<name>\&.threshold
  1971. .RS 4
  1972. Determines the minimum age of non\-bitmapped commits (among reference tips, as above) which are candidates for inclusion in an unstable pseudo\-merge bitmap\&. The default is
  1973. \fB1\&.week\&.ago\fR\&.
  1974. .RE
  1975. .PP
  1976. bitmapPseudoMerge\&.<name>\&.maxMerges
  1977. .RS 4
  1978. Determines the maximum number of pseudo\-merge commits among which commits may be distributed\&.
  1979. .sp
  1980. For pseudo\-merge groups whose pattern does not contain any capture groups, this setting is applied for all commits matching the regular expression\&. For patterns that have one or more capture groups, this setting is applied for each distinct capture group\&.
  1981. .sp
  1982. For example, if your capture group is
  1983. \fBrefs/tags/\fR, then this setting will distribute all tags into a maximum of
  1984. \fBmaxMerges\fR
  1985. pseudo\-merge commits\&. However, if your capture group is, say,
  1986. \fBrefs/remotes/\fR([\fB0\-9\fR]\fB+\fR)\fB/tags/\fR, then this setting will be applied to each remote\(cqs set of tags individually\&.
  1987. .sp
  1988. Must be non\-negative\&. The default value is 64\&.
  1989. .RE
  1990. .PP
  1991. bitmapPseudoMerge\&.<name>\&.stableThreshold
  1992. .RS 4
  1993. Determines the minimum age of commits (among reference tips, as above, however stable commits are still considered candidates even when they have been covered by a bitmap) which are candidates for a stable a pseudo\-merge bitmap\&. The default is
  1994. \fB1\&.month\&.ago\fR\&.
  1995. .sp
  1996. Setting this threshold to a smaller value (e\&.g\&., 1\&.week\&.ago) will cause more stable groups to be generated (which impose a one\-time generation cost) but those groups will likely become stale over time\&. Using a larger value incurs the opposite penalty (fewer stable groups which are more useful)\&.
  1997. .RE
  1998. .PP
  1999. bitmapPseudoMerge\&.<name>\&.stableSize
  2000. .RS 4
  2001. Determines the size (in number of commits) of a stable psuedo\-merge bitmap\&. The default is
  2002. \fB512\fR\&.
  2003. .RE
  2004. .PP
  2005. blame\&.blankBoundary
  2006. .RS 4
  2007. Show blank commit object name for boundary commits in
  2008. \fBgit-blame\fR(1)\&. This option defaults to false\&.
  2009. .RE
  2010. .PP
  2011. blame\&.coloring
  2012. .RS 4
  2013. This determines the coloring scheme to be applied to blame output\&. It can be
  2014. \fIrepeatedLines\fR,
  2015. \fIhighlightRecent\fR, or
  2016. \fInone\fR
  2017. which is the default\&.
  2018. .RE
  2019. .PP
  2020. blame\&.date
  2021. .RS 4
  2022. Specifies the format used to output dates in
  2023. \fBgit-blame\fR(1)\&. If unset the iso format is used\&. For supported values, see the discussion of the
  2024. \fB\-\-date\fR
  2025. option at
  2026. \fBgit-log\fR(1)\&.
  2027. .RE
  2028. .PP
  2029. blame\&.showEmail
  2030. .RS 4
  2031. Show the author email instead of author name in
  2032. \fBgit-blame\fR(1)\&. This option defaults to false\&.
  2033. .RE
  2034. .PP
  2035. blame\&.showRoot
  2036. .RS 4
  2037. Do not treat root commits as boundaries in
  2038. \fBgit-blame\fR(1)\&. This option defaults to false\&.
  2039. .RE
  2040. .PP
  2041. blame\&.ignoreRevsFile
  2042. .RS 4
  2043. Ignore revisions listed in the file, one unabbreviated object name per line, in
  2044. \fBgit-blame\fR(1)\&. Whitespace and comments beginning with # are ignored\&. This option may be repeated multiple times\&. Empty file names will reset the list of ignored revisions\&. This option will be handled before the command line option
  2045. \fB\-\-ignore\-revs\-file\fR\&.
  2046. .RE
  2047. .PP
  2048. blame\&.markUnblamableLines
  2049. .RS 4
  2050. Mark lines that were changed by an ignored revision that we could not attribute to another commit with a
  2051. \fI*\fR
  2052. in the output of
  2053. \fBgit-blame\fR(1)\&.
  2054. .RE
  2055. .PP
  2056. blame\&.markIgnoredLines
  2057. .RS 4
  2058. Mark lines that were changed by an ignored revision that we attributed to another commit with a
  2059. \fI?\fR
  2060. in the output of
  2061. \fBgit-blame\fR(1)\&.
  2062. .RE
  2063. .PP
  2064. branch\&.autoSetupMerge
  2065. .RS 4
  2066. Tells
  2067. \fIgit branch\fR,
  2068. \fIgit switch\fR
  2069. and
  2070. \fIgit checkout\fR
  2071. to set up new branches so that
  2072. \fBgit-pull\fR(1)
  2073. will appropriately merge from the starting point branch\&. Note that even if this option is not set, this behavior can be chosen per\-branch using the
  2074. \fB\-\-track\fR
  2075. and
  2076. \fB\-\-no\-track\fR
  2077. options\&. The valid settings are:
  2078. \fBfalse\fR \(em no automatic setup is done;
  2079. \fBtrue\fR \(em automatic setup is done when the starting point is a remote\-tracking branch;
  2080. \fBalways\fR \(em automatic setup is done when the starting point is either a local branch or remote\-tracking branch;
  2081. \fBinherit\fR \(em if the starting point has a tracking configuration, it is copied to the new branch;
  2082. \fBsimple\fR \(em automatic setup is done only when the starting point is a remote\-tracking branch and the new branch has the same name as the remote branch\&. This option defaults to true\&.
  2083. .RE
  2084. .PP
  2085. branch\&.autoSetupRebase
  2086. .RS 4
  2087. When a new branch is created with
  2088. \fIgit branch\fR,
  2089. \fIgit switch\fR
  2090. or
  2091. \fIgit checkout\fR
  2092. that tracks another branch, this variable tells Git to set up pull to rebase instead of merge (see "branch\&.<name>\&.rebase")\&. When
  2093. \fBnever\fR, rebase is never automatically set to true\&. When
  2094. \fBlocal\fR, rebase is set to true for tracked branches of other local branches\&. When
  2095. \fBremote\fR, rebase is set to true for tracked branches of remote\-tracking branches\&. When
  2096. \fBalways\fR, rebase will be set to true for all tracking branches\&. See "branch\&.autoSetupMerge" for details on how to set up a branch to track another branch\&. This option defaults to never\&.
  2097. .RE
  2098. .PP
  2099. branch\&.sort
  2100. .RS 4
  2101. This variable controls the sort ordering of branches when displayed by
  2102. \fBgit-branch\fR(1)\&. Without the "\-\-sort=<value>" option provided, the value of this variable will be used as the default\&. See
  2103. \fBgit-for-each-ref\fR(1)
  2104. field names for valid values\&.
  2105. .RE
  2106. .PP
  2107. branch\&.<name>\&.remote
  2108. .RS 4
  2109. When on branch <name>, it tells
  2110. \fIgit fetch\fR
  2111. and
  2112. \fIgit push\fR
  2113. which remote to fetch from or push to\&. The remote to push to may be overridden with
  2114. \fBremote\&.pushDefault\fR
  2115. (for all branches)\&. The remote to push to, for the current branch, may be further overridden by
  2116. \fBbranch\&.\fR\fI<name>\fR\fB\&.pushRemote\fR\&. If no remote is configured, or if you are not on any branch and there is more than one remote defined in the repository, it defaults to
  2117. \fBorigin\fR
  2118. for fetching and
  2119. \fBremote\&.pushDefault\fR
  2120. for pushing\&. Additionally, \&. (a period) is the current local repository (a dot\-repository), see
  2121. \fBbranch\&.\fR\fI<name>\fR\fB\&.merge\fR\*(Aqs final note below\&.
  2122. .RE
  2123. .PP
  2124. branch\&.<name>\&.pushRemote
  2125. .RS 4
  2126. When on branch <name>, it overrides
  2127. \fBbranch\&.\fR\fI<name>\fR\fB\&.remote\fR
  2128. for pushing\&. It also overrides
  2129. \fBremote\&.pushDefault\fR
  2130. for pushing from branch <name>\&. When you pull from one place (e\&.g\&. your upstream) and push to another place (e\&.g\&. your own publishing repository), you would want to set
  2131. \fBremote\&.pushDefault\fR
  2132. to specify the remote to push to for all branches, and use this option to override it for a specific branch\&.
  2133. .RE
  2134. .PP
  2135. branch\&.<name>\&.merge
  2136. .RS 4
  2137. Defines, together with branch\&.<name>\&.remote, the upstream branch for the given branch\&. It tells
  2138. \fIgit fetch\fR/\fIgit pull\fR/\fIgit rebase\fR
  2139. which branch to merge and can also affect
  2140. \fIgit push\fR
  2141. (see push\&.default)\&. When in branch <name>, it tells
  2142. \fIgit fetch\fR
  2143. the default refspec to be marked for merging in FETCH_HEAD\&. The value is handled like the remote part of a refspec, and must match a ref which is fetched from the remote given by "branch\&.<name>\&.remote"\&. The merge information is used by
  2144. \fIgit pull\fR
  2145. (which first calls
  2146. \fIgit fetch\fR) to lookup the default branch for merging\&. Without this option,
  2147. \fIgit pull\fR
  2148. defaults to merge the first refspec fetched\&. Specify multiple values to get an octopus merge\&. If you wish to setup
  2149. \fIgit pull\fR
  2150. so that it merges into <name> from another branch in the local repository, you can point branch\&.<name>\&.merge to the desired branch, and use the relative path setting \&. (a period) for branch\&.<name>\&.remote\&.
  2151. .RE
  2152. .PP
  2153. branch\&.<name>\&.mergeOptions
  2154. .RS 4
  2155. Sets default options for merging into branch <name>\&. The syntax and supported options are the same as those of
  2156. \fBgit-merge\fR(1), but option values containing whitespace characters are currently not supported\&.
  2157. .RE
  2158. .PP
  2159. branch\&.<name>\&.rebase
  2160. .RS 4
  2161. When true, rebase the branch <name> on top of the fetched branch, instead of merging the default branch from the default remote when "git pull" is run\&. See "pull\&.rebase" for doing this in a non branch\-specific manner\&.
  2162. .sp
  2163. When
  2164. \fBmerges\fR
  2165. (or just
  2166. \fIm\fR), pass the
  2167. \fB\-\-rebase\-merges\fR
  2168. option to
  2169. \fIgit rebase\fR
  2170. so that the local merge commits are included in the rebase (see
  2171. \fBgit-rebase\fR(1)
  2172. for details)\&.
  2173. .sp
  2174. When the value is
  2175. \fBinteractive\fR
  2176. (or just
  2177. \fIi\fR), the rebase is run in interactive mode\&.
  2178. .sp
  2179. \fBNOTE\fR: this is a possibly dangerous operation; do
  2180. \fBnot\fR
  2181. use it unless you understand the implications (see
  2182. \fBgit-rebase\fR(1)
  2183. for details)\&.
  2184. .RE
  2185. .PP
  2186. branch\&.<name>\&.description
  2187. .RS 4
  2188. Branch description, can be edited with
  2189. \fBgit\fR
  2190. \fBbranch\fR
  2191. \fB\-\-edit\-description\fR\&. Branch description is automatically added to the format\-patch cover letter or request\-pull summary\&.
  2192. .RE
  2193. .PP
  2194. browser\&.<tool>\&.cmd
  2195. .RS 4
  2196. Specify the command to invoke the specified browser\&. The specified command is evaluated in shell with the URLs passed as arguments\&. (See
  2197. \fBgit-web--browse\fR(1)\&.)
  2198. .RE
  2199. .PP
  2200. browser\&.<tool>\&.path
  2201. .RS 4
  2202. Override the path for the given tool that may be used to browse HTML help (see
  2203. \fB\-w\fR
  2204. option in
  2205. \fBgit-help\fR(1)) or a working repository in gitweb (see
  2206. \fBgit-instaweb\fR(1))\&.
  2207. .RE
  2208. .PP
  2209. bundle\&.*
  2210. .RS 4
  2211. The
  2212. \fBbundle\&.\fR* keys may appear in a bundle list file found via the
  2213. \fBgit\fR
  2214. \fBclone\fR
  2215. \fB\-\-bundle\-uri\fR
  2216. option\&. These keys currently have no effect if placed in a repository config file, though this will change in the future\&. See
  2217. \m[blue]\fBthe bundle URI design document\fR\m[]\&\s-2\u[1]\d\s+2
  2218. for more details\&.
  2219. .RE
  2220. .PP
  2221. bundle\&.version
  2222. .RS 4
  2223. This integer value advertises the version of the bundle list format used by the bundle list\&. Currently, the only accepted value is
  2224. \fB1\fR\&.
  2225. .RE
  2226. .PP
  2227. bundle\&.mode
  2228. .RS 4
  2229. This string value should be either
  2230. \fBall\fR
  2231. or
  2232. \fBany\fR\&. This value describes whether all of the advertised bundles are required to unbundle a complete understanding of the bundled information (\fBall\fR) or if any one of the listed bundle URIs is sufficient (\fBany\fR)\&.
  2233. .RE
  2234. .PP
  2235. bundle\&.heuristic
  2236. .RS 4
  2237. If this string\-valued key exists, then the bundle list is designed to work well with incremental
  2238. \fBgit\fR
  2239. \fBfetch\fR
  2240. commands\&. The heuristic signals that there are additional keys available for each bundle that help determine which subset of bundles the client should download\&. The only value currently understood is
  2241. \fBcreationToken\fR\&.
  2242. .RE
  2243. .PP
  2244. bundle\&.<id>\&.*
  2245. .RS 4
  2246. The
  2247. \fBbundle\&.\fR\fI<id>\fR\&.* keys are used to describe a single item in the bundle list, grouped under
  2248. \fI<id>\fR
  2249. for identification purposes\&.
  2250. .RE
  2251. .PP
  2252. bundle\&.<id>\&.uri
  2253. .RS 4
  2254. This string value defines the URI by which Git can reach the contents of this
  2255. \fI<id>\fR\&. This URI may be a bundle file or another bundle list\&.
  2256. .RE
  2257. .PP
  2258. checkout\&.defaultRemote
  2259. .RS 4
  2260. When you run
  2261. \fBgit\fR
  2262. \fBcheckout\fR
  2263. \fI<something>\fR
  2264. or
  2265. \fBgit\fR
  2266. \fBswitch\fR
  2267. \fI<something>\fR
  2268. and only have one remote, it may implicitly fall back on checking out and tracking e\&.g\&.
  2269. \fBorigin/\fR\fI<something>\fR\&. This stops working as soon as you have more than one remote with a
  2270. \fI<something>\fR
  2271. reference\&. This setting allows for setting the name of a preferred remote that should always win when it comes to disambiguation\&. The typical use\-case is to set this to
  2272. \fBorigin\fR\&.
  2273. .sp
  2274. Currently this is used by
  2275. \fBgit-switch\fR(1)
  2276. and
  2277. \fBgit-checkout\fR(1)
  2278. when
  2279. \fBgit\fR
  2280. \fBcheckout\fR
  2281. \fI<something>\fR
  2282. or
  2283. \fBgit\fR
  2284. \fBswitch\fR
  2285. \fI<something>\fR
  2286. will checkout the
  2287. \fI<something>\fR
  2288. branch on another remote, and by
  2289. \fBgit-worktree\fR(1)
  2290. when
  2291. \fBgit\fR
  2292. \fBworktree\fR
  2293. \fBadd\fR
  2294. refers to a remote branch\&. This setting might be used for other checkout\-like commands or functionality in the future\&.
  2295. .RE
  2296. .PP
  2297. checkout\&.guess
  2298. .RS 4
  2299. Provides the default value for the
  2300. \fB\-\-guess\fR
  2301. or
  2302. \fB\-\-no\-guess\fR
  2303. option in
  2304. \fBgit\fR
  2305. \fBcheckout\fR
  2306. and
  2307. \fBgit\fR
  2308. \fBswitch\fR\&. See
  2309. \fBgit-switch\fR(1)
  2310. and
  2311. \fBgit-checkout\fR(1)\&.
  2312. .RE
  2313. .PP
  2314. checkout\&.workers
  2315. .RS 4
  2316. The number of parallel workers to use when updating the working tree\&. The default is one, i\&.e\&. sequential execution\&. If set to a value less than one, Git will use as many workers as the number of logical cores available\&. This setting and
  2317. \fBcheckout\&.thresholdForParallelism\fR
  2318. affect all commands that perform checkout\&. E\&.g\&. checkout, clone, reset, sparse\-checkout, etc\&.
  2319. .sp
  2320. Note: Parallel checkout usually delivers better performance for repositories located on SSDs or over NFS\&. For repositories on spinning disks and/or machines with a small number of cores, the default sequential checkout often performs better\&. The size and compression level of a repository might also influence how well the parallel version performs\&.
  2321. .RE
  2322. .PP
  2323. checkout\&.thresholdForParallelism
  2324. .RS 4
  2325. When running parallel checkout with a small number of files, the cost of subprocess spawning and inter\-process communication might outweigh the parallelization gains\&. This setting allows you to define the minimum number of files for which parallel checkout should be attempted\&. The default is 100\&.
  2326. .RE
  2327. .PP
  2328. clean\&.requireForce
  2329. .RS 4
  2330. A boolean to make git\-clean refuse to delete files unless \-f is given\&. Defaults to true\&.
  2331. .RE
  2332. .PP
  2333. \fBclone\&.defaultRemoteName\fR
  2334. .RS 4
  2335. The name of the remote to create when cloning a repository\&. Defaults to
  2336. \fBorigin\fR\&. It can be overridden by passing the
  2337. \fB\-\-origin\fR
  2338. command\-line option to
  2339. \fBgit-clone\fR(1)\&.
  2340. .RE
  2341. .PP
  2342. \fBclone\&.rejectShallow\fR
  2343. .RS 4
  2344. Reject cloning a repository if it is a shallow one; this can be overridden by passing the
  2345. \fB\-\-reject\-shallow\fR
  2346. option on the command line\&. See
  2347. \fBgit-clone\fR(1)\&.
  2348. .RE
  2349. .PP
  2350. \fBclone\&.filterSubmodules\fR
  2351. .RS 4
  2352. If a partial clone filter is provided (see
  2353. \fB\-\-filter\fR
  2354. in
  2355. \fBgit-rev-list\fR(1)) and
  2356. \fB\-\-recurse\-submodules\fR
  2357. is used, also apply the filter to submodules\&.
  2358. .RE
  2359. .PP
  2360. color\&.advice
  2361. .RS 4
  2362. A boolean to enable/disable color in hints (e\&.g\&. when a push failed, see
  2363. \fBadvice\&.\fR* for a list)\&. May be set to
  2364. \fBalways\fR,
  2365. \fBfalse\fR
  2366. (or
  2367. \fBnever\fR) or
  2368. \fBauto\fR
  2369. (or
  2370. \fBtrue\fR), in which case colors are used only when the error output goes to a terminal\&. If unset, then the value of
  2371. \fBcolor\&.ui\fR
  2372. is used (\fBauto\fR
  2373. by default)\&.
  2374. .RE
  2375. .PP
  2376. color\&.advice\&.hint
  2377. .RS 4
  2378. Use customized color for hints\&.
  2379. .RE
  2380. .PP
  2381. color\&.blame\&.highlightRecent
  2382. .RS 4
  2383. Specify the line annotation color for
  2384. \fBgit\fR
  2385. \fBblame\fR
  2386. \fB\-\-color\-by\-age\fR
  2387. depending upon the age of the line\&.
  2388. .sp
  2389. This setting should be set to a comma\-separated list of color and date settings, starting and ending with a color, the dates should be set from oldest to newest\&. The metadata will be colored with the specified colors if the line was introduced before the given timestamp, overwriting older timestamped colors\&.
  2390. .sp
  2391. Instead of an absolute timestamp relative timestamps work as well, e\&.g\&.
  2392. \fB2\&.weeks\&.ago\fR
  2393. is valid to address anything older than 2 weeks\&.
  2394. .sp
  2395. It defaults to
  2396. \fBblue,12\fR
  2397. \fBmonth\fR
  2398. \fBago,white,1\fR
  2399. \fBmonth\fR
  2400. \fBago,red\fR, which colors everything older than one year blue, recent changes between one month and one year old are kept white, and lines introduced within the last month are colored red\&.
  2401. .RE
  2402. .PP
  2403. color\&.blame\&.repeatedLines
  2404. .RS 4
  2405. Use the specified color to colorize line annotations for
  2406. \fBgit\fR
  2407. \fBblame\fR
  2408. \fB\-\-color\-lines\fR, if they come from the same commit as the preceding line\&. Defaults to cyan\&.
  2409. .RE
  2410. .PP
  2411. color\&.branch
  2412. .RS 4
  2413. A boolean to enable/disable color in the output of
  2414. \fBgit-branch\fR(1)\&. May be set to
  2415. \fBalways\fR,
  2416. \fBfalse\fR
  2417. (or
  2418. \fBnever\fR) or
  2419. \fBauto\fR
  2420. (or
  2421. \fBtrue\fR), in which case colors are used only when the output is to a terminal\&. If unset, then the value of
  2422. \fBcolor\&.ui\fR
  2423. is used (\fBauto\fR
  2424. by default)\&.
  2425. .RE
  2426. .PP
  2427. color\&.branch\&.<slot>
  2428. .RS 4
  2429. Use customized color for branch coloration\&.
  2430. \fI<slot>\fR
  2431. is one of
  2432. \fBcurrent\fR
  2433. (the current branch),
  2434. \fBlocal\fR
  2435. (a local branch),
  2436. \fBremote\fR
  2437. (a remote\-tracking branch in refs/remotes/),
  2438. \fBupstream\fR
  2439. (upstream tracking branch),
  2440. \fBplain\fR
  2441. (other refs)\&.
  2442. .RE
  2443. .PP
  2444. color\&.diff
  2445. .RS 4
  2446. Whether to use ANSI escape sequences to add color to patches\&. If this is set to
  2447. \fBalways\fR,
  2448. \fBgit-diff\fR(1),
  2449. \fBgit-log\fR(1), and
  2450. \fBgit-show\fR(1)
  2451. will use color for all patches\&. If it is set to
  2452. \fBtrue\fR
  2453. or
  2454. \fBauto\fR, those commands will only use color when output is to the terminal\&. If unset, then the value of
  2455. \fBcolor\&.ui\fR
  2456. is used (\fBauto\fR
  2457. by default)\&.
  2458. .sp
  2459. This does not affect
  2460. \fBgit-format-patch\fR(1)
  2461. or the
  2462. \fIgit\-diff\-*\fR
  2463. plumbing commands\&. Can be overridden on the command line with the
  2464. \fB\-\-color\fR[\fB=\fR\fI<when>\fR] option\&.
  2465. .RE
  2466. .PP
  2467. color\&.diff\&.<slot>
  2468. .RS 4
  2469. Use customized color for diff colorization\&.
  2470. \fI<slot>\fR
  2471. specifies which part of the patch to use the specified color, and is one of
  2472. \fBcontext\fR
  2473. (context text \-
  2474. \fBplain\fR
  2475. is a historical synonym),
  2476. \fBmeta\fR
  2477. (metainformation),
  2478. \fBfrag\fR
  2479. (hunk header),
  2480. \fIfunc\fR
  2481. (function in hunk header),
  2482. \fBold\fR
  2483. (removed lines),
  2484. \fBnew\fR
  2485. (added lines),
  2486. \fBcommit\fR
  2487. (commit headers),
  2488. \fBwhitespace\fR
  2489. (highlighting whitespace errors),
  2490. \fBoldMoved\fR
  2491. (deleted lines),
  2492. \fBnewMoved\fR
  2493. (added lines),
  2494. \fBoldMovedDimmed\fR,
  2495. \fBoldMovedAlternative\fR,
  2496. \fBoldMovedAlternativeDimmed\fR,
  2497. \fBnewMovedDimmed\fR,
  2498. \fBnewMovedAlternative\fR
  2499. \fBnewMovedAlternativeDimmed\fR
  2500. (See the
  2501. \fI<mode>\fR
  2502. setting of
  2503. \fI\-\-color\-moved\fR
  2504. in
  2505. \fBgit-diff\fR(1)
  2506. for details),
  2507. \fBcontextDimmed\fR,
  2508. \fBoldDimmed\fR,
  2509. \fBnewDimmed\fR,
  2510. \fBcontextBold\fR,
  2511. \fBoldBold\fR, and
  2512. \fBnewBold\fR
  2513. (see
  2514. \fBgit-range-diff\fR(1)
  2515. for details)\&.
  2516. .RE
  2517. .PP
  2518. color\&.decorate\&.<slot>
  2519. .RS 4
  2520. Use customized color for
  2521. \fIgit log \-\-decorate\fR
  2522. output\&.
  2523. \fI<slot>\fR
  2524. is one of
  2525. \fBbranch\fR,
  2526. \fBremoteBranch\fR,
  2527. \fBtag\fR,
  2528. \fBstash\fR
  2529. or
  2530. \fBHEAD\fR
  2531. for local branches, remote\-tracking branches, tags, stash and HEAD, respectively and
  2532. \fBgrafted\fR
  2533. for grafted commits\&.
  2534. .RE
  2535. .PP
  2536. color\&.grep
  2537. .RS 4
  2538. When set to
  2539. \fBalways\fR, always highlight matches\&. When
  2540. \fBfalse\fR
  2541. (or
  2542. \fBnever\fR), never\&. When set to
  2543. \fBtrue\fR
  2544. or
  2545. \fBauto\fR, use color only when the output is written to the terminal\&. If unset, then the value of
  2546. \fBcolor\&.ui\fR
  2547. is used (\fBauto\fR
  2548. by default)\&.
  2549. .RE
  2550. .PP
  2551. color\&.grep\&.<slot>
  2552. .RS 4
  2553. Use customized color for grep colorization\&.
  2554. \fI<slot>\fR
  2555. specifies which part of the line to use the specified color, and is one of
  2556. .PP
  2557. \fBcontext\fR
  2558. .RS 4
  2559. non\-matching text in context lines (when using
  2560. \fB\-A\fR,
  2561. \fB\-B\fR, or
  2562. \fB\-C\fR)
  2563. .RE
  2564. .PP
  2565. \fBfilename\fR
  2566. .RS 4
  2567. filename prefix (when not using
  2568. \fB\-h\fR)
  2569. .RE
  2570. .PP
  2571. \fBfunction\fR
  2572. .RS 4
  2573. function name lines (when using
  2574. \fB\-p\fR)
  2575. .RE
  2576. .PP
  2577. \fBlineNumber\fR
  2578. .RS 4
  2579. line number prefix (when using
  2580. \fB\-n\fR)
  2581. .RE
  2582. .PP
  2583. \fBcolumn\fR
  2584. .RS 4
  2585. column number prefix (when using
  2586. \fB\-\-column\fR)
  2587. .RE
  2588. .PP
  2589. \fBmatch\fR
  2590. .RS 4
  2591. matching text (same as setting
  2592. \fBmatchContext\fR
  2593. and
  2594. \fBmatchSelected\fR)
  2595. .RE
  2596. .PP
  2597. \fBmatchContext\fR
  2598. .RS 4
  2599. matching text in context lines
  2600. .RE
  2601. .PP
  2602. \fBmatchSelected\fR
  2603. .RS 4
  2604. matching text in selected lines\&. Also, used to customize the following
  2605. \fBgit-log\fR(1)
  2606. subcommands:
  2607. \fB\-\-grep\fR,
  2608. \fB\-\-author\fR, and
  2609. \fB\-\-committer\fR\&.
  2610. .RE
  2611. .PP
  2612. \fBselected\fR
  2613. .RS 4
  2614. non\-matching text in selected lines\&. Also, used to customize the following
  2615. \fBgit-log\fR(1)
  2616. subcommands:
  2617. \fB\-\-grep\fR,
  2618. \fB\-\-author\fR
  2619. and
  2620. \fB\-\-committer\fR\&.
  2621. .RE
  2622. .PP
  2623. \fBseparator\fR
  2624. .RS 4
  2625. separators between fields on a line (\fB:\fR,
  2626. \fB\-\fR, and
  2627. \fB=\fR) and between hunks (\fB\-\-\fR)
  2628. .RE
  2629. .RE
  2630. .PP
  2631. color\&.interactive
  2632. .RS 4
  2633. When set to
  2634. \fBalways\fR, always use colors for interactive prompts and displays (such as those used by "git\-add \-\-interactive" and "git\-clean \-\-interactive")\&. When false (or
  2635. \fBnever\fR), never\&. When set to
  2636. \fBtrue\fR
  2637. or
  2638. \fBauto\fR, use colors only when the output is to the terminal\&. If unset, then the value of
  2639. \fBcolor\&.ui\fR
  2640. is used (\fBauto\fR
  2641. by default)\&.
  2642. .RE
  2643. .PP
  2644. color\&.interactive\&.<slot>
  2645. .RS 4
  2646. Use customized color for
  2647. \fIgit add \-\-interactive\fR
  2648. and
  2649. \fIgit clean \-\-interactive\fR
  2650. output\&.
  2651. \fI<slot>\fR
  2652. may be
  2653. \fBprompt\fR,
  2654. \fBheader\fR,
  2655. \fBhelp\fR
  2656. or
  2657. \fBerror\fR, for four distinct types of normal output from interactive commands\&.
  2658. .RE
  2659. .PP
  2660. color\&.pager
  2661. .RS 4
  2662. A boolean to specify whether
  2663. \fBauto\fR
  2664. color modes should colorize output going to the pager\&. Defaults to true; set this to false if your pager does not understand ANSI color codes\&.
  2665. .RE
  2666. .PP
  2667. color\&.push
  2668. .RS 4
  2669. A boolean to enable/disable color in push errors\&. May be set to
  2670. \fBalways\fR,
  2671. \fBfalse\fR
  2672. (or
  2673. \fBnever\fR) or
  2674. \fBauto\fR
  2675. (or
  2676. \fBtrue\fR), in which case colors are used only when the error output goes to a terminal\&. If unset, then the value of
  2677. \fBcolor\&.ui\fR
  2678. is used (\fBauto\fR
  2679. by default)\&.
  2680. .RE
  2681. .PP
  2682. color\&.push\&.error
  2683. .RS 4
  2684. Use customized color for push errors\&.
  2685. .RE
  2686. .PP
  2687. color\&.remote
  2688. .RS 4
  2689. If set, keywords at the start of the line are highlighted\&. The keywords are "error", "warning", "hint" and "success", and are matched case\-insensitively\&. May be set to
  2690. \fBalways\fR,
  2691. \fBfalse\fR
  2692. (or
  2693. \fBnever\fR) or
  2694. \fBauto\fR
  2695. (or
  2696. \fBtrue\fR)\&. If unset, then the value of
  2697. \fBcolor\&.ui\fR
  2698. is used (\fBauto\fR
  2699. by default)\&.
  2700. .RE
  2701. .PP
  2702. color\&.remote\&.<slot>
  2703. .RS 4
  2704. Use customized color for each remote keyword\&.
  2705. \fI<slot>\fR
  2706. may be
  2707. \fBhint\fR,
  2708. \fBwarning\fR,
  2709. \fBsuccess\fR
  2710. or
  2711. \fBerror\fR
  2712. which match the corresponding keyword\&.
  2713. .RE
  2714. .PP
  2715. color\&.showBranch
  2716. .RS 4
  2717. A boolean to enable/disable color in the output of
  2718. \fBgit-show-branch\fR(1)\&. May be set to
  2719. \fBalways\fR,
  2720. \fBfalse\fR
  2721. (or
  2722. \fBnever\fR) or
  2723. \fBauto\fR
  2724. (or
  2725. \fBtrue\fR), in which case colors are used only when the output is to a terminal\&. If unset, then the value of
  2726. \fBcolor\&.ui\fR
  2727. is used (\fBauto\fR
  2728. by default)\&.
  2729. .RE
  2730. .PP
  2731. color\&.status
  2732. .RS 4
  2733. A boolean to enable/disable color in the output of
  2734. \fBgit-status\fR(1)\&. May be set to
  2735. \fBalways\fR,
  2736. \fBfalse\fR
  2737. (or
  2738. \fBnever\fR) or
  2739. \fBauto\fR
  2740. (or
  2741. \fBtrue\fR), in which case colors are used only when the output is to a terminal\&. If unset, then the value of
  2742. \fBcolor\&.ui\fR
  2743. is used (\fBauto\fR
  2744. by default)\&.
  2745. .RE
  2746. .PP
  2747. color\&.status\&.<slot>
  2748. .RS 4
  2749. Use customized color for status colorization\&.
  2750. \fI<slot>\fR
  2751. is one of
  2752. \fBheader\fR
  2753. (the header text of the status message),
  2754. \fBadded\fR
  2755. or
  2756. \fBupdated\fR
  2757. (files which are added but not committed),
  2758. \fBchanged\fR
  2759. (files which are changed but not added in the index),
  2760. \fBuntracked\fR
  2761. (files which are not tracked by Git),
  2762. \fBbranch\fR
  2763. (the current branch),
  2764. \fBnobranch\fR
  2765. (the color the
  2766. \fIno branch\fR
  2767. warning is shown in, defaulting to red),
  2768. \fBlocalBranch\fR
  2769. or
  2770. \fBremoteBranch\fR
  2771. (the local and remote branch names, respectively, when branch and tracking information is displayed in the status short\-format), or
  2772. \fBunmerged\fR
  2773. (files which have unmerged changes)\&.
  2774. .RE
  2775. .PP
  2776. color\&.transport
  2777. .RS 4
  2778. A boolean to enable/disable color when pushes are rejected\&. May be set to
  2779. \fBalways\fR,
  2780. \fBfalse\fR
  2781. (or
  2782. \fBnever\fR) or
  2783. \fBauto\fR
  2784. (or
  2785. \fBtrue\fR), in which case colors are used only when the error output goes to a terminal\&. If unset, then the value of
  2786. \fBcolor\&.ui\fR
  2787. is used (\fBauto\fR
  2788. by default)\&.
  2789. .RE
  2790. .PP
  2791. color\&.transport\&.rejected
  2792. .RS 4
  2793. Use customized color when a push was rejected\&.
  2794. .RE
  2795. .PP
  2796. color\&.ui
  2797. .RS 4
  2798. This variable determines the default value for variables such as
  2799. \fBcolor\&.diff\fR
  2800. and
  2801. \fBcolor\&.grep\fR
  2802. that control the use of color per command family\&. Its scope will expand as more commands learn configuration to set a default for the
  2803. \fB\-\-color\fR
  2804. option\&. Set it to
  2805. \fBfalse\fR
  2806. or
  2807. \fBnever\fR
  2808. if you prefer Git commands not to use color unless enabled explicitly with some other configuration or the
  2809. \fB\-\-color\fR
  2810. option\&. Set it to
  2811. \fBalways\fR
  2812. if you want all output not intended for machine consumption to use color, to
  2813. \fBtrue\fR
  2814. or
  2815. \fBauto\fR
  2816. (this is the default since Git 1\&.8\&.4) if you want such output to use color when written to the terminal\&.
  2817. .RE
  2818. .PP
  2819. column\&.ui
  2820. .RS 4
  2821. Specify whether supported commands should output in columns\&. This variable consists of a list of tokens separated by spaces or commas:
  2822. .sp
  2823. These options control when the feature should be enabled (defaults to
  2824. \fInever\fR):
  2825. .PP
  2826. \fBalways\fR
  2827. .RS 4
  2828. always show in columns
  2829. .RE
  2830. .PP
  2831. \fBnever\fR
  2832. .RS 4
  2833. never show in columns
  2834. .RE
  2835. .PP
  2836. \fBauto\fR
  2837. .RS 4
  2838. show in columns if the output is to the terminal
  2839. .RE
  2840. .sp
  2841. These options control layout (defaults to
  2842. \fIcolumn\fR)\&. Setting any of these implies
  2843. \fIalways\fR
  2844. if none of
  2845. \fIalways\fR,
  2846. \fInever\fR, or
  2847. \fIauto\fR
  2848. are specified\&.
  2849. .PP
  2850. \fBcolumn\fR
  2851. .RS 4
  2852. fill columns before rows
  2853. .RE
  2854. .PP
  2855. \fBrow\fR
  2856. .RS 4
  2857. fill rows before columns
  2858. .RE
  2859. .PP
  2860. \fBplain\fR
  2861. .RS 4
  2862. show in one column
  2863. .RE
  2864. .sp
  2865. Finally, these options can be combined with a layout option (defaults to
  2866. \fInodense\fR):
  2867. .PP
  2868. \fBdense\fR
  2869. .RS 4
  2870. make unequal size columns to utilize more space
  2871. .RE
  2872. .PP
  2873. \fBnodense\fR
  2874. .RS 4
  2875. make equal size columns
  2876. .RE
  2877. .RE
  2878. .PP
  2879. column\&.branch
  2880. .RS 4
  2881. Specify whether to output branch listing in
  2882. \fBgit\fR
  2883. \fBbranch\fR
  2884. in columns\&. See
  2885. \fBcolumn\&.ui\fR
  2886. for details\&.
  2887. .RE
  2888. .PP
  2889. column\&.clean
  2890. .RS 4
  2891. Specify the layout when listing items in
  2892. \fBgit\fR
  2893. \fBclean\fR
  2894. \fB\-i\fR, which always shows files and directories in columns\&. See
  2895. \fBcolumn\&.ui\fR
  2896. for details\&.
  2897. .RE
  2898. .PP
  2899. column\&.status
  2900. .RS 4
  2901. Specify whether to output untracked files in
  2902. \fBgit\fR
  2903. \fBstatus\fR
  2904. in columns\&. See
  2905. \fBcolumn\&.ui\fR
  2906. for details\&.
  2907. .RE
  2908. .PP
  2909. column\&.tag
  2910. .RS 4
  2911. Specify whether to output tag listings in
  2912. \fBgit\fR
  2913. \fBtag\fR
  2914. in columns\&. See
  2915. \fBcolumn\&.ui\fR
  2916. for details\&.
  2917. .RE
  2918. .PP
  2919. \fBcommit\&.cleanup\fR
  2920. .RS 4
  2921. This setting overrides the default of the
  2922. \fB\-\-cleanup\fR
  2923. option in
  2924. \fBgit\fR
  2925. \fBcommit\fR\&. See
  2926. \fBgit-commit\fR(1)
  2927. for details\&. Changing the default can be useful when you always want to keep lines that begin with the comment character # in your log message, in which case you would do
  2928. \fBgit\fR
  2929. \fBconfig\fR
  2930. \fBcommit\&.cleanup\fR
  2931. \fBwhitespace\fR
  2932. (note that you will have to remove the help lines that begin with # in the commit log template yourself, if you do this)\&.
  2933. .RE
  2934. .PP
  2935. \fBcommit\&.gpgSign\fR
  2936. .RS 4
  2937. A boolean to specify whether all commits should be GPG signed\&. Use of this option when doing operations such as rebase can result in a large number of commits being signed\&. It may be convenient to use an agent to avoid typing your GPG passphrase several times\&.
  2938. .RE
  2939. .PP
  2940. \fBcommit\&.status\fR
  2941. .RS 4
  2942. A boolean to enable/disable inclusion of status information in the commit message template when using an editor to prepare the commit message\&. Defaults to
  2943. \fBtrue\fR\&.
  2944. .RE
  2945. .PP
  2946. \fBcommit\&.template\fR
  2947. .RS 4
  2948. Specify the pathname of a file to use as the template for new commit messages\&.
  2949. .RE
  2950. .PP
  2951. \fBcommit\&.verbose\fR
  2952. .RS 4
  2953. A boolean or int to specify the level of verbosity with
  2954. \fBgit\fR
  2955. \fBcommit\fR\&. See
  2956. \fBgit-commit\fR(1)
  2957. for details\&.
  2958. .RE
  2959. .PP
  2960. commitGraph\&.generationVersion
  2961. .RS 4
  2962. Specifies the type of generation number version to use when writing or reading the commit\-graph file\&. If version 1 is specified, then the corrected commit dates will not be written or read\&. Defaults to 2\&.
  2963. .RE
  2964. .PP
  2965. commitGraph\&.maxNewFilters
  2966. .RS 4
  2967. Specifies the default value for the
  2968. \fB\-\-max\-new\-filters\fR
  2969. option of
  2970. \fBgit\fR
  2971. \fBcommit\-graph\fR
  2972. \fBwrite\fR
  2973. (c\&.f\&.,
  2974. \fBgit-commit-graph\fR(1))\&.
  2975. .RE
  2976. .PP
  2977. commitGraph\&.readChangedPaths
  2978. .RS 4
  2979. Deprecated\&. Equivalent to commitGraph\&.changedPathsVersion=\-1 if true, and commitGraph\&.changedPathsVersion=0 if false\&. (If commitGraph\&.changedPathVersion is also set, commitGraph\&.changedPathsVersion takes precedence\&.)
  2980. .RE
  2981. .PP
  2982. commitGraph\&.changedPathsVersion
  2983. .RS 4
  2984. Specifies the version of the changed\-path Bloom filters that Git will read and write\&. May be \-1, 0, 1, or 2\&. Note that values greater than 1 may be incompatible with older versions of Git which do not yet understand those versions\&. Use caution when operating in a mixed\-version environment\&.
  2985. .sp
  2986. Defaults to \-1\&.
  2987. .sp
  2988. If \-1, Git will use the version of the changed\-path Bloom filters in the repository, defaulting to 1 if there are none\&.
  2989. .sp
  2990. If 0, Git will not read any Bloom filters, and will write version 1 Bloom filters when instructed to write\&.
  2991. .sp
  2992. If 1, Git will only read version 1 Bloom filters, and will write version 1 Bloom filters\&.
  2993. .sp
  2994. If 2, Git will only read version 2 Bloom filters, and will write version 2 Bloom filters\&.
  2995. .sp
  2996. See
  2997. \fBgit-commit-graph\fR(1)
  2998. for more information\&.
  2999. .RE
  3000. .PP
  3001. completion\&.commands
  3002. .RS 4
  3003. This is only used by git\-completion\&.bash to add or remove commands from the list of completed commands\&. Normally only porcelain commands and a few select others are completed\&. You can add more commands, separated by space, in this variable\&. Prefixing the command with
  3004. \fI\-\fR
  3005. will remove it from the existing list\&.
  3006. .RE
  3007. .PP
  3008. core\&.fileMode
  3009. .RS 4
  3010. Tells Git if the executable bit of files in the working tree is to be honored\&.
  3011. .sp
  3012. Some filesystems lose the executable bit when a file that is marked as executable is checked out, or checks out a non\-executable file with executable bit on\&.
  3013. \fBgit-clone\fR(1)
  3014. or
  3015. \fBgit-init\fR(1)
  3016. probe the filesystem to see if it handles the executable bit correctly and this variable is automatically set as necessary\&.
  3017. .sp
  3018. A repository, however, may be on a filesystem that handles the filemode correctly, and this variable is set to
  3019. \fItrue\fR
  3020. when created, but later may be made accessible from another environment that loses the filemode (e\&.g\&. exporting ext4 via CIFS mount, visiting a Cygwin created repository with Git for Windows or Eclipse)\&. In such a case it may be necessary to set this variable to
  3021. \fIfalse\fR\&. See
  3022. \fBgit-update-index\fR(1)\&.
  3023. .sp
  3024. The default is true (when core\&.filemode is not specified in the config file)\&.
  3025. .RE
  3026. .PP
  3027. core\&.hideDotFiles
  3028. .RS 4
  3029. (Windows\-only) If true, mark newly\-created directories and files whose name starts with a dot as hidden\&. If
  3030. \fIdotGitOnly\fR, only the \&.\fBgit/\fR
  3031. directory is hidden, but no other files starting with a dot\&. The default mode is
  3032. \fIdotGitOnly\fR\&.
  3033. .RE
  3034. .PP
  3035. core\&.ignoreCase
  3036. .RS 4
  3037. Internal variable which enables various workarounds to enable Git to work better on filesystems that are not case sensitive, like APFS, HFS+, FAT, NTFS, etc\&. For example, if a directory listing finds "makefile" when Git expects "Makefile", Git will assume it is really the same file, and continue to remember it as "Makefile"\&.
  3038. .sp
  3039. The default is false, except
  3040. \fBgit-clone\fR(1)
  3041. or
  3042. \fBgit-init\fR(1)
  3043. will probe and set core\&.ignoreCase true if appropriate when the repository is created\&.
  3044. .sp
  3045. Git relies on the proper configuration of this variable for your operating and file system\&. Modifying this value may result in unexpected behavior\&.
  3046. .RE
  3047. .PP
  3048. core\&.precomposeUnicode
  3049. .RS 4
  3050. This option is only used by Mac OS implementation of Git\&. When core\&.precomposeUnicode=true, Git reverts the unicode decomposition of filenames done by Mac OS\&. This is useful when sharing a repository between Mac OS and Linux or Windows\&. (Git for Windows 1\&.7\&.10 or higher is needed, or Git under cygwin 1\&.7)\&. When false, file names are handled fully transparent by Git, which is backward compatible with older versions of Git\&.
  3051. .RE
  3052. .PP
  3053. core\&.protectHFS
  3054. .RS 4
  3055. If set to true, do not allow checkout of paths that would be considered equivalent to \&.\fBgit\fR
  3056. on an HFS+ filesystem\&. Defaults to
  3057. \fBtrue\fR
  3058. on Mac OS, and
  3059. \fBfalse\fR
  3060. elsewhere\&.
  3061. .RE
  3062. .PP
  3063. core\&.protectNTFS
  3064. .RS 4
  3065. If set to true, do not allow checkout of paths that would cause problems with the NTFS filesystem, e\&.g\&. conflict with 8\&.3 "short" names\&. Defaults to
  3066. \fBtrue\fR
  3067. on Windows, and
  3068. \fBfalse\fR
  3069. elsewhere\&.
  3070. .RE
  3071. .PP
  3072. core\&.fsmonitor
  3073. .RS 4
  3074. If set to true, enable the built\-in file system monitor daemon for this working directory (\fBgit-fsmonitor--daemon\fR(1))\&.
  3075. .sp
  3076. Like hook\-based file system monitors, the built\-in file system monitor can speed up Git commands that need to refresh the Git index (e\&.g\&.
  3077. \fBgit\fR
  3078. \fBstatus\fR) in a working directory with many files\&. The built\-in monitor eliminates the need to install and maintain an external third\-party tool\&.
  3079. .sp
  3080. The built\-in file system monitor is currently available only on a limited set of supported platforms\&. Currently, this includes Windows and MacOS\&.
  3081. .sp
  3082. .if n \{\
  3083. .RS 4
  3084. .\}
  3085. .nf
  3086. Otherwise, this variable contains the pathname of the "fsmonitor"
  3087. hook command\&.
  3088. .fi
  3089. .if n \{\
  3090. .RE
  3091. .\}
  3092. .sp
  3093. This hook command is used to identify all files that may have changed since the requested date/time\&. This information is used to speed up git by avoiding unnecessary scanning of files that have not changed\&.
  3094. .sp
  3095. See the "fsmonitor\-watchman" section of
  3096. \fBgithooks\fR(5)\&.
  3097. .sp
  3098. Note that if you concurrently use multiple versions of Git, such as one version on the command line and another version in an IDE tool, that the definition of
  3099. \fBcore\&.fsmonitor\fR
  3100. was extended to allow boolean values in addition to hook pathnames\&. Git versions 2\&.35\&.1 and prior will not understand the boolean values and will consider the "true" or "false" values as hook pathnames to be invoked\&. Git versions 2\&.26 thru 2\&.35\&.1 default to hook protocol V2 and will fall back to no fsmonitor (full scan)\&. Git versions prior to 2\&.26 default to hook protocol V1 and will silently assume there were no changes to report (no scan), so status commands may report incomplete results\&. For this reason, it is best to upgrade all of your Git versions before using the built\-in file system monitor\&.
  3101. .RE
  3102. .PP
  3103. core\&.fsmonitorHookVersion
  3104. .RS 4
  3105. Sets the protocol version to be used when invoking the "fsmonitor" hook\&.
  3106. .sp
  3107. There are currently versions 1 and 2\&. When this is not set, version 2 will be tried first and if it fails then version 1 will be tried\&. Version 1 uses a timestamp as input to determine which files have changes since that time but some monitors like Watchman have race conditions when used with a timestamp\&. Version 2 uses an opaque string so that the monitor can return something that can be used to determine what files have changed without race conditions\&.
  3108. .RE
  3109. .PP
  3110. core\&.trustctime
  3111. .RS 4
  3112. If false, the ctime differences between the index and the working tree are ignored; useful when the inode change time is regularly modified by something outside Git (file system crawlers and some backup systems)\&. See
  3113. \fBgit-update-index\fR(1)\&. True by default\&.
  3114. .RE
  3115. .PP
  3116. core\&.splitIndex
  3117. .RS 4
  3118. If true, the split\-index feature of the index will be used\&. See
  3119. \fBgit-update-index\fR(1)\&. False by default\&.
  3120. .RE
  3121. .PP
  3122. core\&.untrackedCache
  3123. .RS 4
  3124. Determines what to do about the untracked cache feature of the index\&. It will be kept, if this variable is unset or set to
  3125. \fBkeep\fR\&. It will automatically be added if set to
  3126. \fBtrue\fR\&. And it will automatically be removed, if set to
  3127. \fBfalse\fR\&. Before setting it to
  3128. \fBtrue\fR, you should check that mtime is working properly on your system\&. See
  3129. \fBgit-update-index\fR(1)\&.
  3130. \fBkeep\fR
  3131. by default, unless
  3132. \fBfeature\&.manyFiles\fR
  3133. is enabled which sets this setting to
  3134. \fBtrue\fR
  3135. by default\&.
  3136. .RE
  3137. .PP
  3138. core\&.checkStat
  3139. .RS 4
  3140. When missing or is set to
  3141. \fBdefault\fR, many fields in the stat structure are checked to detect if a file has been modified since Git looked at it\&. When this configuration variable is set to
  3142. \fBminimal\fR, sub\-second part of mtime and ctime, the uid and gid of the owner of the file, the inode number (and the device number, if Git was compiled to use it), are excluded from the check among these fields, leaving only the whole\-second part of mtime (and ctime, if
  3143. \fBcore\&.trustCtime\fR
  3144. is set) and the filesize to be checked\&.
  3145. .sp
  3146. There are implementations of Git that do not leave usable values in some fields (e\&.g\&. JGit); by excluding these fields from the comparison, the
  3147. \fBminimal\fR
  3148. mode may help interoperability when the same repository is used by these other systems at the same time\&.
  3149. .RE
  3150. .PP
  3151. core\&.quotePath
  3152. .RS 4
  3153. Commands that output paths (e\&.g\&.
  3154. \fIls\-files\fR,
  3155. \fIdiff\fR), will quote "unusual" characters in the pathname by enclosing the pathname in double\-quotes and escaping those characters with backslashes in the same way C escapes control characters (e\&.g\&. \et for TAB, \en for LF, \e\e for backslash) or bytes with values larger than 0x80 (e\&.g\&. octal \e302\e265 for "micro" in UTF\-8)\&. If this variable is set to false, bytes higher than 0x80 are not considered "unusual" any more\&. Double\-quotes, backslash and control characters are always escaped regardless of the setting of this variable\&. A simple space character is not considered "unusual"\&. Many commands can output pathnames completely verbatim using the
  3156. \fB\-z\fR
  3157. option\&. The default value is true\&.
  3158. .RE
  3159. .PP
  3160. core\&.eol
  3161. .RS 4
  3162. Sets the line ending type to use in the working directory for files that are marked as text (either by having the
  3163. \fBtext\fR
  3164. attribute set, or by having
  3165. \fBtext=auto\fR
  3166. and Git auto\-detecting the contents as text)\&. Alternatives are
  3167. \fIlf\fR,
  3168. \fIcrlf\fR
  3169. and
  3170. \fInative\fR, which uses the platform\(cqs native line ending\&. The default value is
  3171. \fBnative\fR\&. See
  3172. \fBgitattributes\fR(5)
  3173. for more information on end\-of\-line conversion\&. Note that this value is ignored if
  3174. \fBcore\&.autocrlf\fR
  3175. is set to
  3176. \fBtrue\fR
  3177. or
  3178. \fBinput\fR\&.
  3179. .RE
  3180. .PP
  3181. core\&.safecrlf
  3182. .RS 4
  3183. If true, makes Git check if converting
  3184. \fBCRLF\fR
  3185. is reversible when end\-of\-line conversion is active\&. Git will verify if a command modifies a file in the work tree either directly or indirectly\&. For example, committing a file followed by checking out the same file should yield the original file in the work tree\&. If this is not the case for the current setting of
  3186. \fBcore\&.autocrlf\fR, Git will reject the file\&. The variable can be set to "warn", in which case Git will only warn about an irreversible conversion but continue the operation\&.
  3187. .sp
  3188. CRLF conversion bears a slight chance of corrupting data\&. When it is enabled, Git will convert CRLF to LF during commit and LF to CRLF during checkout\&. A file that contains a mixture of LF and CRLF before the commit cannot be recreated by Git\&. For text files this is the right thing to do: it corrects line endings such that we have only LF line endings in the repository\&. But for binary files that are accidentally classified as text the conversion can corrupt data\&.
  3189. .sp
  3190. If you recognize such corruption early you can easily fix it by setting the conversion type explicitly in \&.gitattributes\&. Right after committing you still have the original file in your work tree and this file is not yet corrupted\&. You can explicitly tell Git that this file is binary and Git will handle the file appropriately\&.
  3191. .sp
  3192. Unfortunately, the desired effect of cleaning up text files with mixed line endings and the undesired effect of corrupting binary files cannot be distinguished\&. In both cases CRLFs are removed in an irreversible way\&. For text files this is the right thing to do because CRLFs are line endings, while for binary files converting CRLFs corrupts data\&.
  3193. .sp
  3194. Note, this safety check does not mean that a checkout will generate a file identical to the original file for a different setting of
  3195. \fBcore\&.eol\fR
  3196. and
  3197. \fBcore\&.autocrlf\fR, but only for the current one\&. For example, a text file with
  3198. \fBLF\fR
  3199. would be accepted with
  3200. \fBcore\&.eol=lf\fR
  3201. and could later be checked out with
  3202. \fBcore\&.eol=crlf\fR, in which case the resulting file would contain
  3203. \fBCRLF\fR, although the original file contained
  3204. \fBLF\fR\&. However, in both work trees the line endings would be consistent, that is either all
  3205. \fBLF\fR
  3206. or all
  3207. \fBCRLF\fR, but never mixed\&. A file with mixed line endings would be reported by the
  3208. \fBcore\&.safecrlf\fR
  3209. mechanism\&.
  3210. .RE
  3211. .PP
  3212. core\&.autocrlf
  3213. .RS 4
  3214. Setting this variable to "true" is the same as setting the
  3215. \fBtext\fR
  3216. attribute to "auto" on all files and core\&.eol to "crlf"\&. Set to true if you want to have
  3217. \fBCRLF\fR
  3218. line endings in your working directory and the repository has LF line endings\&. This variable can be set to
  3219. \fIinput\fR, in which case no output conversion is performed\&.
  3220. .RE
  3221. .PP
  3222. core\&.checkRoundtripEncoding
  3223. .RS 4
  3224. A comma and/or whitespace separated list of encodings that Git performs UTF\-8 round trip checks on if they are used in an
  3225. \fBworking\-tree\-encoding\fR
  3226. attribute (see
  3227. \fBgitattributes\fR(5))\&. The default value is
  3228. \fBSHIFT\-JIS\fR\&.
  3229. .RE
  3230. .PP
  3231. core\&.symlinks
  3232. .RS 4
  3233. If false, symbolic links are checked out as small plain files that contain the link text\&.
  3234. \fBgit-update-index\fR(1)
  3235. and
  3236. \fBgit-add\fR(1)
  3237. will not change the recorded type to regular file\&. Useful on filesystems like FAT that do not support symbolic links\&.
  3238. .sp
  3239. The default is true, except
  3240. \fBgit-clone\fR(1)
  3241. or
  3242. \fBgit-init\fR(1)
  3243. will probe and set core\&.symlinks false if appropriate when the repository is created\&.
  3244. .RE
  3245. .PP
  3246. core\&.gitProxy
  3247. .RS 4
  3248. A "proxy command" to execute (as
  3249. \fIcommand host port\fR) instead of establishing direct connection to the remote server when using the Git protocol for fetching\&. If the variable value is in the "COMMAND for DOMAIN" format, the command is applied only on hostnames ending with the specified domain string\&. This variable may be set multiple times and is matched in the given order; the first match wins\&.
  3250. .sp
  3251. Can be overridden by the
  3252. \fBGIT_PROXY_COMMAND\fR
  3253. environment variable (which always applies universally, without the special "for" handling)\&.
  3254. .sp
  3255. The special string
  3256. \fBnone\fR
  3257. can be used as the proxy command to specify that no proxy be used for a given domain pattern\&. This is useful for excluding servers inside a firewall from proxy use, while defaulting to a common proxy for external domains\&.
  3258. .RE
  3259. .PP
  3260. core\&.sshCommand
  3261. .RS 4
  3262. If this variable is set,
  3263. \fBgit\fR
  3264. \fBfetch\fR
  3265. and
  3266. \fBgit\fR
  3267. \fBpush\fR
  3268. will use the specified command instead of
  3269. \fBssh\fR
  3270. when they need to connect to a remote system\&. The command is in the same form as the
  3271. \fBGIT_SSH_COMMAND\fR
  3272. environment variable and is overridden when the environment variable is set\&.
  3273. .RE
  3274. .PP
  3275. core\&.ignoreStat
  3276. .RS 4
  3277. If true, Git will avoid using lstat() calls to detect if files have changed by setting the "assume\-unchanged" bit for those tracked files which it has updated identically in both the index and working tree\&.
  3278. .sp
  3279. When files are modified outside of Git, the user will need to stage the modified files explicitly (e\&.g\&. see
  3280. \fIExamples\fR
  3281. section in
  3282. \fBgit-update-index\fR(1))\&. Git will not normally detect changes to those files\&.
  3283. .sp
  3284. This is useful on systems where lstat() calls are very slow, such as CIFS/Microsoft Windows\&.
  3285. .sp
  3286. False by default\&.
  3287. .RE
  3288. .PP
  3289. core\&.preferSymlinkRefs
  3290. .RS 4
  3291. Instead of the default "symref" format for HEAD and other symbolic reference files, use symbolic links\&. This is sometimes needed to work with old scripts that expect HEAD to be a symbolic link\&.
  3292. .RE
  3293. .PP
  3294. core\&.alternateRefsCommand
  3295. .RS 4
  3296. When advertising tips of available history from an alternate, use the shell to execute the specified command instead of
  3297. \fBgit-for-each-ref\fR(1)\&. The first argument is the absolute path of the alternate\&. Output must contain one hex object id per line (i\&.e\&., the same as produced by
  3298. \fBgit\fR
  3299. \fBfor\-each\-ref\fR
  3300. \fB\-\-format=\fR\*(Aq%(\fBobjectname\fR)\*(Aq)\&.
  3301. .sp
  3302. Note that you cannot generally put
  3303. \fBgit\fR
  3304. \fBfor\-each\-ref\fR
  3305. directly into the config value, as it does not take a repository path as an argument (but you can wrap the command above in a shell script)\&.
  3306. .RE
  3307. .PP
  3308. core\&.alternateRefsPrefixes
  3309. .RS 4
  3310. When listing references from an alternate, list only references that begin with the given prefix\&. Prefixes match as if they were given as arguments to
  3311. \fBgit-for-each-ref\fR(1)\&. To list multiple prefixes, separate them with whitespace\&. If
  3312. \fBcore\&.alternateRefsCommand\fR
  3313. is set, setting
  3314. \fBcore\&.alternateRefsPrefixes\fR
  3315. has no effect\&.
  3316. .RE
  3317. .PP
  3318. core\&.bare
  3319. .RS 4
  3320. If true this repository is assumed to be
  3321. \fIbare\fR
  3322. and has no working directory associated with it\&. If this is the case a number of commands that require a working directory will be disabled, such as
  3323. \fBgit-add\fR(1)
  3324. or
  3325. \fBgit-merge\fR(1)\&.
  3326. .sp
  3327. This setting is automatically guessed by
  3328. \fBgit-clone\fR(1)
  3329. or
  3330. \fBgit-init\fR(1)
  3331. when the repository was created\&. By default a repository that ends in "/\&.git" is assumed to be not bare (bare = false), while all other repositories are assumed to be bare (bare = true)\&.
  3332. .RE
  3333. .PP
  3334. core\&.worktree
  3335. .RS 4
  3336. Set the path to the root of the working tree\&. If
  3337. \fBGIT_COMMON_DIR\fR
  3338. environment variable is set, core\&.worktree is ignored and not used for determining the root of working tree\&. This can be overridden by the
  3339. \fBGIT_WORK_TREE\fR
  3340. environment variable and the
  3341. \fB\-\-work\-tree\fR
  3342. command\-line option\&. The value can be an absolute path or relative to the path to the \&.git directory, which is either specified by \-\-git\-dir or GIT_DIR, or automatically discovered\&. If \-\-git\-dir or GIT_DIR is specified but none of \-\-work\-tree, GIT_WORK_TREE and core\&.worktree is specified, the current working directory is regarded as the top level of your working tree\&.
  3343. .sp
  3344. Note that this variable is honored even when set in a configuration file in a "\&.git" subdirectory of a directory and its value differs from the latter directory (e\&.g\&. "/path/to/\&.git/config" has core\&.worktree set to "/different/path"), which is most likely a misconfiguration\&. Running Git commands in the "/path/to" directory will still use "/different/path" as the root of the work tree and can cause confusion unless you know what you are doing (e\&.g\&. you are creating a read\-only snapshot of the same index to a location different from the repository\(cqs usual working tree)\&.
  3345. .RE
  3346. .PP
  3347. core\&.logAllRefUpdates
  3348. .RS 4
  3349. Enable the reflog\&. Updates to a ref <ref> is logged to the file "\fB$GIT_DIR/logs/\fR\fI<ref>\fR", by appending the new and old SHA\-1, the date/time and the reason of the update, but only when the file exists\&. If this configuration variable is set to
  3350. \fBtrue\fR, missing "\fB$GIT_DIR/logs/\fR\fI<ref>\fR" file is automatically created for branch heads (i\&.e\&. under
  3351. \fBrefs/heads/\fR), remote refs (i\&.e\&. under
  3352. \fBrefs/remotes/\fR), note refs (i\&.e\&. under
  3353. \fBrefs/notes/\fR), and the symbolic ref
  3354. \fBHEAD\fR\&. If it is set to
  3355. \fBalways\fR, then a missing reflog is automatically created for any ref under
  3356. \fBrefs/\fR\&.
  3357. .sp
  3358. This information can be used to determine what commit was the tip of a branch "2 days ago"\&.
  3359. .sp
  3360. This value is true by default in a repository that has a working directory associated with it, and false by default in a bare repository\&.
  3361. .RE
  3362. .PP
  3363. core\&.repositoryFormatVersion
  3364. .RS 4
  3365. Internal variable identifying the repository format and layout version\&. See
  3366. \fBgitrepository-layout\fR(5)\&.
  3367. .RE
  3368. .PP
  3369. core\&.sharedRepository
  3370. .RS 4
  3371. When
  3372. \fIgroup\fR
  3373. (or
  3374. \fItrue\fR), the repository is made shareable between several users in a group (making sure all the files and objects are group\-writable)\&. When
  3375. \fIall\fR
  3376. (or
  3377. \fIworld\fR
  3378. or
  3379. \fIeverybody\fR), the repository will be readable by all users, additionally to being group\-shareable\&. When
  3380. \fIumask\fR
  3381. (or
  3382. \fIfalse\fR), Git will use permissions reported by umask(2)\&. When
  3383. \fI0xxx\fR, where
  3384. \fI0xxx\fR
  3385. is an octal number, files in the repository will have this mode value\&.
  3386. \fI0xxx\fR
  3387. will override user\(cqs umask value (whereas the other options will only override requested parts of the user\(cqs umask value)\&. Examples:
  3388. \fI0660\fR
  3389. will make the repo read/write\-able for the owner and group, but inaccessible to others (equivalent to
  3390. \fIgroup\fR
  3391. unless umask is e\&.g\&.
  3392. \fI0022\fR)\&.
  3393. \fI0640\fR
  3394. is a repository that is group\-readable but not group\-writable\&. See
  3395. \fBgit-init\fR(1)\&. False by default\&.
  3396. .RE
  3397. .PP
  3398. core\&.warnAmbiguousRefs
  3399. .RS 4
  3400. If true, Git will warn you if the ref name you passed it is ambiguous and might match multiple refs in the repository\&. True by default\&.
  3401. .RE
  3402. .PP
  3403. core\&.compression
  3404. .RS 4
  3405. An integer \-1\&.\&.9, indicating a default compression level\&. \-1 is the zlib default\&. 0 means no compression, and 1\&.\&.9 are various speed/size tradeoffs, 9 being slowest\&. If set, this provides a default to other compression variables, such as
  3406. \fBcore\&.looseCompression\fR
  3407. and
  3408. \fBpack\&.compression\fR\&.
  3409. .RE
  3410. .PP
  3411. core\&.looseCompression
  3412. .RS 4
  3413. An integer \-1\&.\&.9, indicating the compression level for objects that are not in a pack file\&. \-1 is the zlib default\&. 0 means no compression, and 1\&.\&.9 are various speed/size tradeoffs, 9 being slowest\&. If not set, defaults to core\&.compression\&. If that is not set, defaults to 1 (best speed)\&.
  3414. .RE
  3415. .PP
  3416. core\&.packedGitWindowSize
  3417. .RS 4
  3418. Number of bytes of a pack file to map into memory in a single mapping operation\&. Larger window sizes may allow your system to process a smaller number of large pack files more quickly\&. Smaller window sizes will negatively affect performance due to increased calls to the operating system\(cqs memory manager, but may improve performance when accessing a large number of large pack files\&.
  3419. .sp
  3420. Default is 1 MiB if NO_MMAP was set at compile time, otherwise 32 MiB on 32 bit platforms and 1 GiB on 64 bit platforms\&. This should be reasonable for all users/operating systems\&. You probably do not need to adjust this value\&.
  3421. .sp
  3422. Common unit suffixes of
  3423. \fIk\fR,
  3424. \fIm\fR, or
  3425. \fIg\fR
  3426. are supported\&.
  3427. .RE
  3428. .PP
  3429. core\&.packedGitLimit
  3430. .RS 4
  3431. Maximum number of bytes to map simultaneously into memory from pack files\&. If Git needs to access more than this many bytes at once to complete an operation it will unmap existing regions to reclaim virtual address space within the process\&.
  3432. .sp
  3433. Default is 256 MiB on 32 bit platforms and 32 TiB (effectively unlimited) on 64 bit platforms\&. This should be reasonable for all users/operating systems, except on the largest projects\&. You probably do not need to adjust this value\&.
  3434. .sp
  3435. Common unit suffixes of
  3436. \fIk\fR,
  3437. \fIm\fR, or
  3438. \fIg\fR
  3439. are supported\&.
  3440. .RE
  3441. .PP
  3442. core\&.deltaBaseCacheLimit
  3443. .RS 4
  3444. Maximum number of bytes per thread to reserve for caching base objects that may be referenced by multiple deltified objects\&. By storing the entire decompressed base objects in a cache Git is able to avoid unpacking and decompressing frequently used base objects multiple times\&.
  3445. .sp
  3446. Default is 96 MiB on all platforms\&. This should be reasonable for all users/operating systems, except on the largest projects\&. You probably do not need to adjust this value\&.
  3447. .sp
  3448. Common unit suffixes of
  3449. \fIk\fR,
  3450. \fIm\fR, or
  3451. \fIg\fR
  3452. are supported\&.
  3453. .RE
  3454. .PP
  3455. core\&.bigFileThreshold
  3456. .RS 4
  3457. The size of files considered "big", which as discussed below changes the behavior of numerous git commands, as well as how such files are stored within the repository\&. The default is 512 MiB\&. Common unit suffixes of
  3458. \fIk\fR,
  3459. \fIm\fR, or
  3460. \fIg\fR
  3461. are supported\&.
  3462. .sp
  3463. Files above the configured limit will be:
  3464. .sp
  3465. .RS 4
  3466. .ie n \{\
  3467. \h'-04'\(bu\h'+03'\c
  3468. .\}
  3469. .el \{\
  3470. .sp -1
  3471. .IP \(bu 2.3
  3472. .\}
  3473. Stored deflated in packfiles, without attempting delta compression\&.
  3474. .sp
  3475. The default limit is primarily set with this use\-case in mind\&. With it, most projects will have their source code and other text files delta compressed, but not larger binary media files\&.
  3476. .sp
  3477. Storing large files without delta compression avoids excessive memory usage, at the slight expense of increased disk usage\&.
  3478. .RE
  3479. .sp
  3480. .RS 4
  3481. .ie n \{\
  3482. \h'-04'\(bu\h'+03'\c
  3483. .\}
  3484. .el \{\
  3485. .sp -1
  3486. .IP \(bu 2.3
  3487. .\}
  3488. Will be treated as if they were labeled "binary" (see
  3489. \fBgitattributes\fR(5))\&. e\&.g\&.
  3490. \fBgit-log\fR(1)
  3491. and
  3492. \fBgit-diff\fR(1)
  3493. will not compute diffs for files above this limit\&.
  3494. .RE
  3495. .sp
  3496. .RS 4
  3497. .ie n \{\
  3498. \h'-04'\(bu\h'+03'\c
  3499. .\}
  3500. .el \{\
  3501. .sp -1
  3502. .IP \(bu 2.3
  3503. .\}
  3504. Will generally be streamed when written, which avoids excessive memory usage, at the cost of some fixed overhead\&. Commands that make use of this include
  3505. \fBgit-archive\fR(1),
  3506. \fBgit-fast-import\fR(1),
  3507. \fBgit-index-pack\fR(1),
  3508. \fBgit-unpack-objects\fR(1)
  3509. and
  3510. \fBgit-fsck\fR(1)\&.
  3511. .RE
  3512. .RE
  3513. .PP
  3514. core\&.excludesFile
  3515. .RS 4
  3516. Specifies the pathname to the file that contains patterns to describe paths that are not meant to be tracked, in addition to \&.\fBgitignore\fR
  3517. (per\-directory) and \&.\fBgit/info/exclude\fR\&. Defaults to
  3518. \fB$XDG_CONFIG_HOME/git/ignore\fR\&. If
  3519. \fB$XDG_CONFIG_HOME\fR
  3520. is either not set or empty,
  3521. \fB$HOME/\&.config/git/ignore\fR
  3522. is used instead\&. See
  3523. \fBgitignore\fR(5)\&.
  3524. .RE
  3525. .PP
  3526. core\&.askPass
  3527. .RS 4
  3528. Some commands (e\&.g\&. svn and http interfaces) that interactively ask for a password can be told to use an external program given via the value of this variable\&. Can be overridden by the
  3529. \fBGIT_ASKPASS\fR
  3530. environment variable\&. If not set, fall back to the value of the
  3531. \fBSSH_ASKPASS\fR
  3532. environment variable or, failing that, a simple password prompt\&. The external program shall be given a suitable prompt as command\-line argument and write the password on its STDOUT\&.
  3533. .RE
  3534. .PP
  3535. core\&.attributesFile
  3536. .RS 4
  3537. In addition to \&.\fBgitattributes\fR
  3538. (per\-directory) and \&.\fBgit/info/attributes\fR, Git looks into this file for attributes (see
  3539. \fBgitattributes\fR(5))\&. Path expansions are made the same way as for
  3540. \fBcore\&.excludesFile\fR\&. Its default value is
  3541. \fB$XDG_CONFIG_HOME/git/attributes\fR\&. If
  3542. \fB$XDG_CONFIG_HOME\fR
  3543. is either not set or empty,
  3544. \fB$HOME/\&.config/git/attributes\fR
  3545. is used instead\&.
  3546. .RE
  3547. .PP
  3548. core\&.hooksPath
  3549. .RS 4
  3550. By default Git will look for your hooks in the
  3551. \fB$GIT_DIR/hooks\fR
  3552. directory\&. Set this to different path, e\&.g\&.
  3553. \fB/etc/git/hooks\fR, and Git will try to find your hooks in that directory, e\&.g\&.
  3554. \fB/etc/git/hooks/pre\-receive\fR
  3555. instead of in
  3556. \fB$GIT_DIR/hooks/pre\-receive\fR\&.
  3557. .sp
  3558. The path can be either absolute or relative\&. A relative path is taken as relative to the directory where the hooks are run (see the "DESCRIPTION" section of
  3559. \fBgithooks\fR(5))\&.
  3560. .sp
  3561. This configuration variable is useful in cases where you\(cqd like to centrally configure your Git hooks instead of configuring them on a per\-repository basis, or as a more flexible and centralized alternative to having an
  3562. \fBinit\&.templateDir\fR
  3563. where you\(cqve changed default hooks\&.
  3564. .RE
  3565. .PP
  3566. core\&.editor
  3567. .RS 4
  3568. Commands such as
  3569. \fBcommit\fR
  3570. and
  3571. \fBtag\fR
  3572. that let you edit messages by launching an editor use the value of this variable when it is set, and the environment variable
  3573. \fBGIT_EDITOR\fR
  3574. is not set\&. See
  3575. \fBgit-var\fR(1)\&.
  3576. .RE
  3577. .PP
  3578. core\&.commentChar, core\&.commentString
  3579. .RS 4
  3580. Commands such as
  3581. \fBcommit\fR
  3582. and
  3583. \fBtag\fR
  3584. that let you edit messages consider a line that begins with this character commented, and removes them after the editor returns (default
  3585. \fI#\fR)\&.
  3586. .sp
  3587. If set to "auto",
  3588. \fBgit\-commit\fR
  3589. would select a character that is not the beginning character of any line in existing commit messages\&.
  3590. .sp
  3591. Note that these two variables are aliases of each other, and in modern versions of Git you are free to use a string (e\&.g\&.,
  3592. \fB//\fR
  3593. or ⁑⁕⁑) with
  3594. \fBcommentChar\fR\&. Versions of Git prior to v2\&.45\&.0 will ignore
  3595. \fBcommentString\fR
  3596. but will reject a value of
  3597. \fBcommentChar\fR
  3598. that consists of more than a single ASCII byte\&. If you plan to use your config with older and newer versions of Git, you may want to specify both:
  3599. .sp
  3600. .if n \{\
  3601. .RS 4
  3602. .\}
  3603. .nf
  3604. [core]
  3605. # single character for older versions
  3606. commentChar = "#"
  3607. # string for newer versions (which will override commentChar
  3608. # because it comes later in the file)
  3609. commentString = "//"
  3610. .fi
  3611. .if n \{\
  3612. .RE
  3613. .\}
  3614. .RE
  3615. .PP
  3616. core\&.filesRefLockTimeout
  3617. .RS 4
  3618. The length of time, in milliseconds, to retry when trying to lock an individual reference\&. Value 0 means not to retry at all; \-1 means to try indefinitely\&. Default is 100 (i\&.e\&., retry for 100ms)\&.
  3619. .RE
  3620. .PP
  3621. core\&.packedRefsTimeout
  3622. .RS 4
  3623. The length of time, in milliseconds, to retry when trying to lock the
  3624. \fBpacked\-refs\fR
  3625. file\&. Value 0 means not to retry at all; \-1 means to try indefinitely\&. Default is 1000 (i\&.e\&., retry for 1 second)\&.
  3626. .RE
  3627. .PP
  3628. core\&.pager
  3629. .RS 4
  3630. Text viewer for use by Git commands (e\&.g\&.,
  3631. \fIless\fR)\&. The value is meant to be interpreted by the shell\&. The order of preference is the
  3632. \fB$GIT_PAGER\fR
  3633. environment variable, then
  3634. \fBcore\&.pager\fR
  3635. configuration, then
  3636. \fB$PAGER\fR, and then the default chosen at compile time (usually
  3637. \fIless\fR)\&.
  3638. .sp
  3639. When the
  3640. \fBLESS\fR
  3641. environment variable is unset, Git sets it to
  3642. \fBFRX\fR
  3643. (if
  3644. \fBLESS\fR
  3645. environment variable is set, Git does not change it at all)\&. If you want to selectively override Git\(cqs default setting for
  3646. \fBLESS\fR, you can set
  3647. \fBcore\&.pager\fR
  3648. to e\&.g\&.
  3649. \fBless\fR
  3650. \fB\-S\fR\&. This will be passed to the shell by Git, which will translate the final command to
  3651. \fBLESS=FRX\fR
  3652. \fBless\fR
  3653. \fB\-S\fR\&. The environment does not set the
  3654. \fBS\fR
  3655. option but the command line does, instructing less to truncate long lines\&. Similarly, setting
  3656. \fBcore\&.pager\fR
  3657. to
  3658. \fBless\fR
  3659. \fB\-+F\fR
  3660. will deactivate the
  3661. \fBF\fR
  3662. option specified by the environment from the command\-line, deactivating the "quit if one screen" behavior of
  3663. \fBless\fR\&. One can specifically activate some flags for particular commands: for example, setting
  3664. \fBpager\&.blame\fR
  3665. to
  3666. \fBless\fR
  3667. \fB\-S\fR
  3668. enables line truncation only for
  3669. \fBgit\fR
  3670. \fBblame\fR\&.
  3671. .sp
  3672. Likewise, when the
  3673. \fBLV\fR
  3674. environment variable is unset, Git sets it to
  3675. \fB\-c\fR\&. You can override this setting by exporting
  3676. \fBLV\fR
  3677. with another value or setting
  3678. \fBcore\&.pager\fR
  3679. to
  3680. \fBlv\fR
  3681. \fB+c\fR\&.
  3682. .RE
  3683. .PP
  3684. core\&.whitespace
  3685. .RS 4
  3686. A comma separated list of common whitespace problems to notice\&.
  3687. \fIgit diff\fR
  3688. will use
  3689. \fBcolor\&.diff\&.whitespace\fR
  3690. to highlight them, and
  3691. \fIgit apply \-\-whitespace=error\fR
  3692. will consider them as errors\&. You can prefix
  3693. \fB\-\fR
  3694. to disable any of them (e\&.g\&.
  3695. \fB\-trailing\-space\fR):
  3696. .sp
  3697. .RS 4
  3698. .ie n \{\
  3699. \h'-04'\(bu\h'+03'\c
  3700. .\}
  3701. .el \{\
  3702. .sp -1
  3703. .IP \(bu 2.3
  3704. .\}
  3705. \fBblank\-at\-eol\fR
  3706. treats trailing whitespaces at the end of the line as an error (enabled by default)\&.
  3707. .RE
  3708. .sp
  3709. .RS 4
  3710. .ie n \{\
  3711. \h'-04'\(bu\h'+03'\c
  3712. .\}
  3713. .el \{\
  3714. .sp -1
  3715. .IP \(bu 2.3
  3716. .\}
  3717. \fBspace\-before\-tab\fR
  3718. treats a space character that appears immediately before a tab character in the initial indent part of the line as an error (enabled by default)\&.
  3719. .RE
  3720. .sp
  3721. .RS 4
  3722. .ie n \{\
  3723. \h'-04'\(bu\h'+03'\c
  3724. .\}
  3725. .el \{\
  3726. .sp -1
  3727. .IP \(bu 2.3
  3728. .\}
  3729. \fBindent\-with\-non\-tab\fR
  3730. treats a line that is indented with space characters instead of the equivalent tabs as an error (not enabled by default)\&.
  3731. .RE
  3732. .sp
  3733. .RS 4
  3734. .ie n \{\
  3735. \h'-04'\(bu\h'+03'\c
  3736. .\}
  3737. .el \{\
  3738. .sp -1
  3739. .IP \(bu 2.3
  3740. .\}
  3741. \fBtab\-in\-indent\fR
  3742. treats a tab character in the initial indent part of the line as an error (not enabled by default)\&.
  3743. .RE
  3744. .sp
  3745. .RS 4
  3746. .ie n \{\
  3747. \h'-04'\(bu\h'+03'\c
  3748. .\}
  3749. .el \{\
  3750. .sp -1
  3751. .IP \(bu 2.3
  3752. .\}
  3753. \fBblank\-at\-eof\fR
  3754. treats blank lines added at the end of file as an error (enabled by default)\&.
  3755. .RE
  3756. .sp
  3757. .RS 4
  3758. .ie n \{\
  3759. \h'-04'\(bu\h'+03'\c
  3760. .\}
  3761. .el \{\
  3762. .sp -1
  3763. .IP \(bu 2.3
  3764. .\}
  3765. \fBtrailing\-space\fR
  3766. is a short\-hand to cover both
  3767. \fBblank\-at\-eol\fR
  3768. and
  3769. \fBblank\-at\-eof\fR\&.
  3770. .RE
  3771. .sp
  3772. .RS 4
  3773. .ie n \{\
  3774. \h'-04'\(bu\h'+03'\c
  3775. .\}
  3776. .el \{\
  3777. .sp -1
  3778. .IP \(bu 2.3
  3779. .\}
  3780. \fBcr\-at\-eol\fR
  3781. treats a carriage\-return at the end of line as part of the line terminator, i\&.e\&. with it,
  3782. \fBtrailing\-space\fR
  3783. does not trigger if the character before such a carriage\-return is not a whitespace (not enabled by default)\&.
  3784. .RE
  3785. .sp
  3786. .RS 4
  3787. .ie n \{\
  3788. \h'-04'\(bu\h'+03'\c
  3789. .\}
  3790. .el \{\
  3791. .sp -1
  3792. .IP \(bu 2.3
  3793. .\}
  3794. \fBtabwidth=\fR\fI<n>\fR
  3795. tells how many character positions a tab occupies; this is relevant for
  3796. \fBindent\-with\-non\-tab\fR
  3797. and when Git fixes
  3798. \fBtab\-in\-indent\fR
  3799. errors\&. The default tab width is 8\&. Allowed values are 1 to 63\&.
  3800. .RE
  3801. .RE
  3802. .PP
  3803. core\&.fsync
  3804. .RS 4
  3805. A comma\-separated list of components of the repository that should be hardened via the core\&.fsyncMethod when created or modified\&. You can disable hardening of any component by prefixing it with a
  3806. \fI\-\fR\&. Items that are not hardened may be lost in the event of an unclean system shutdown\&. Unless you have special requirements, it is recommended that you leave this option empty or pick one of
  3807. \fBcommitted\fR,
  3808. \fBadded\fR, or
  3809. \fBall\fR\&.
  3810. .sp
  3811. When this configuration is encountered, the set of components starts with the platform default value, disabled components are removed, and additional components are added\&.
  3812. \fBnone\fR
  3813. resets the state so that the platform default is ignored\&.
  3814. .sp
  3815. The empty string resets the fsync configuration to the platform default\&. The default on most platforms is equivalent to
  3816. \fBcore\&.fsync=committed,\-loose\-object\fR, which has good performance, but risks losing recent work in the event of an unclean system shutdown\&.
  3817. .sp
  3818. .RS 4
  3819. .ie n \{\
  3820. \h'-04'\(bu\h'+03'\c
  3821. .\}
  3822. .el \{\
  3823. .sp -1
  3824. .IP \(bu 2.3
  3825. .\}
  3826. \fBnone\fR
  3827. clears the set of fsynced components\&.
  3828. .RE
  3829. .sp
  3830. .RS 4
  3831. .ie n \{\
  3832. \h'-04'\(bu\h'+03'\c
  3833. .\}
  3834. .el \{\
  3835. .sp -1
  3836. .IP \(bu 2.3
  3837. .\}
  3838. \fBloose\-object\fR
  3839. hardens objects added to the repo in loose\-object form\&.
  3840. .RE
  3841. .sp
  3842. .RS 4
  3843. .ie n \{\
  3844. \h'-04'\(bu\h'+03'\c
  3845. .\}
  3846. .el \{\
  3847. .sp -1
  3848. .IP \(bu 2.3
  3849. .\}
  3850. \fBpack\fR
  3851. hardens objects added to the repo in packfile form\&.
  3852. .RE
  3853. .sp
  3854. .RS 4
  3855. .ie n \{\
  3856. \h'-04'\(bu\h'+03'\c
  3857. .\}
  3858. .el \{\
  3859. .sp -1
  3860. .IP \(bu 2.3
  3861. .\}
  3862. \fBpack\-metadata\fR
  3863. hardens packfile bitmaps and indexes\&.
  3864. .RE
  3865. .sp
  3866. .RS 4
  3867. .ie n \{\
  3868. \h'-04'\(bu\h'+03'\c
  3869. .\}
  3870. .el \{\
  3871. .sp -1
  3872. .IP \(bu 2.3
  3873. .\}
  3874. \fBcommit\-graph\fR
  3875. hardens the commit\-graph file\&.
  3876. .RE
  3877. .sp
  3878. .RS 4
  3879. .ie n \{\
  3880. \h'-04'\(bu\h'+03'\c
  3881. .\}
  3882. .el \{\
  3883. .sp -1
  3884. .IP \(bu 2.3
  3885. .\}
  3886. \fBindex\fR
  3887. hardens the index when it is modified\&.
  3888. .RE
  3889. .sp
  3890. .RS 4
  3891. .ie n \{\
  3892. \h'-04'\(bu\h'+03'\c
  3893. .\}
  3894. .el \{\
  3895. .sp -1
  3896. .IP \(bu 2.3
  3897. .\}
  3898. \fBobjects\fR
  3899. is an aggregate option that is equivalent to
  3900. \fBloose\-object,pack\fR\&.
  3901. .RE
  3902. .sp
  3903. .RS 4
  3904. .ie n \{\
  3905. \h'-04'\(bu\h'+03'\c
  3906. .\}
  3907. .el \{\
  3908. .sp -1
  3909. .IP \(bu 2.3
  3910. .\}
  3911. \fBreference\fR
  3912. hardens references modified in the repo\&.
  3913. .RE
  3914. .sp
  3915. .RS 4
  3916. .ie n \{\
  3917. \h'-04'\(bu\h'+03'\c
  3918. .\}
  3919. .el \{\
  3920. .sp -1
  3921. .IP \(bu 2.3
  3922. .\}
  3923. \fBderived\-metadata\fR
  3924. is an aggregate option that is equivalent to
  3925. \fBpack\-metadata,commit\-graph\fR\&.
  3926. .RE
  3927. .sp
  3928. .RS 4
  3929. .ie n \{\
  3930. \h'-04'\(bu\h'+03'\c
  3931. .\}
  3932. .el \{\
  3933. .sp -1
  3934. .IP \(bu 2.3
  3935. .\}
  3936. \fBcommitted\fR
  3937. is an aggregate option that is currently equivalent to
  3938. \fBobjects\fR\&. This mode sacrifices some performance to ensure that work that is committed to the repository with
  3939. \fBgit\fR
  3940. \fBcommit\fR
  3941. or similar commands is hardened\&.
  3942. .RE
  3943. .sp
  3944. .RS 4
  3945. .ie n \{\
  3946. \h'-04'\(bu\h'+03'\c
  3947. .\}
  3948. .el \{\
  3949. .sp -1
  3950. .IP \(bu 2.3
  3951. .\}
  3952. \fBadded\fR
  3953. is an aggregate option that is currently equivalent to
  3954. \fBcommitted,index\fR\&. This mode sacrifices additional performance to ensure that the results of commands like
  3955. \fBgit\fR
  3956. \fBadd\fR
  3957. and similar operations are hardened\&.
  3958. .RE
  3959. .sp
  3960. .RS 4
  3961. .ie n \{\
  3962. \h'-04'\(bu\h'+03'\c
  3963. .\}
  3964. .el \{\
  3965. .sp -1
  3966. .IP \(bu 2.3
  3967. .\}
  3968. \fBall\fR
  3969. is an aggregate option that syncs all individual components above\&.
  3970. .RE
  3971. .RE
  3972. .PP
  3973. core\&.fsyncMethod
  3974. .RS 4
  3975. A value indicating the strategy Git will use to harden repository data using fsync and related primitives\&.
  3976. .sp
  3977. .RS 4
  3978. .ie n \{\
  3979. \h'-04'\(bu\h'+03'\c
  3980. .\}
  3981. .el \{\
  3982. .sp -1
  3983. .IP \(bu 2.3
  3984. .\}
  3985. \fBfsync\fR
  3986. uses the fsync() system call or platform equivalents\&.
  3987. .RE
  3988. .sp
  3989. .RS 4
  3990. .ie n \{\
  3991. \h'-04'\(bu\h'+03'\c
  3992. .\}
  3993. .el \{\
  3994. .sp -1
  3995. .IP \(bu 2.3
  3996. .\}
  3997. \fBwriteout\-only\fR
  3998. issues pagecache writeback requests, but depending on the filesystem and storage hardware, data added to the repository may not be durable in the event of a system crash\&. This is the default mode on macOS\&.
  3999. .RE
  4000. .sp
  4001. .RS 4
  4002. .ie n \{\
  4003. \h'-04'\(bu\h'+03'\c
  4004. .\}
  4005. .el \{\
  4006. .sp -1
  4007. .IP \(bu 2.3
  4008. .\}
  4009. \fBbatch\fR
  4010. enables a mode that uses writeout\-only flushes to stage multiple updates in the disk writeback cache and then does a single full fsync of a dummy file to trigger the disk cache flush at the end of the operation\&.
  4011. .sp
  4012. Currently
  4013. \fBbatch\fR
  4014. mode only applies to loose\-object files\&. Other repository data is made durable as if
  4015. \fBfsync\fR
  4016. was specified\&. This mode is expected to be as safe as
  4017. \fBfsync\fR
  4018. on macOS for repos stored on HFS+ or APFS filesystems and on Windows for repos stored on NTFS or ReFS filesystems\&.
  4019. .RE
  4020. .RE
  4021. .PP
  4022. core\&.fsyncObjectFiles
  4023. .RS 4
  4024. This boolean will enable
  4025. \fIfsync()\fR
  4026. when writing object files\&. This setting is deprecated\&. Use core\&.fsync instead\&.
  4027. .sp
  4028. This setting affects data added to the Git repository in loose\-object form\&. When set to true, Git will issue an fsync or similar system call to flush caches so that loose\-objects remain consistent in the face of a unclean system shutdown\&.
  4029. .RE
  4030. .PP
  4031. core\&.preloadIndex
  4032. .RS 4
  4033. Enable parallel index preload for operations like
  4034. \fIgit diff\fR
  4035. .sp
  4036. This can speed up operations like
  4037. \fIgit diff\fR
  4038. and
  4039. \fIgit status\fR
  4040. especially on filesystems like NFS that have weak caching semantics and thus relatively high IO latencies\&. When enabled, Git will do the index comparison to the filesystem data in parallel, allowing overlapping IO\(cqs\&. Defaults to true\&.
  4041. .RE
  4042. .PP
  4043. core\&.unsetenvvars
  4044. .RS 4
  4045. Windows\-only: comma\-separated list of environment variables\*(Aq names that need to be unset before spawning any other process\&. Defaults to
  4046. \fBPERL5LIB\fR
  4047. to account for the fact that Git for Windows insists on using its own Perl interpreter\&.
  4048. .RE
  4049. .PP
  4050. core\&.restrictinheritedhandles
  4051. .RS 4
  4052. Windows\-only: override whether spawned processes inherit only standard file handles (\fBstdin\fR,
  4053. \fBstdout\fR
  4054. and
  4055. \fBstderr\fR) or all handles\&. Can be
  4056. \fBauto\fR,
  4057. \fBtrue\fR
  4058. or
  4059. \fBfalse\fR\&. Defaults to
  4060. \fBauto\fR, which means
  4061. \fBtrue\fR
  4062. on Windows 7 and later, and
  4063. \fBfalse\fR
  4064. on older Windows versions\&.
  4065. .RE
  4066. .PP
  4067. core\&.createObject
  4068. .RS 4
  4069. You can set this to
  4070. \fIlink\fR, in which case a hardlink followed by a delete of the source are used to make sure that object creation will not overwrite existing objects\&.
  4071. .sp
  4072. On some file system/operating system combinations, this is unreliable\&. Set this config setting to
  4073. \fIrename\fR
  4074. there; however, this will remove the check that makes sure that existing object files will not get overwritten\&.
  4075. .RE
  4076. .PP
  4077. core\&.notesRef
  4078. .RS 4
  4079. When showing commit messages, also show notes which are stored in the given ref\&. The ref must be fully qualified\&. If the given ref does not exist, it is not an error but means that no notes should be printed\&.
  4080. .sp
  4081. This setting defaults to "refs/notes/commits", and it can be overridden by the
  4082. \fBGIT_NOTES_REF\fR
  4083. environment variable\&. See
  4084. \fBgit-notes\fR(1)\&.
  4085. .RE
  4086. .PP
  4087. core\&.commitGraph
  4088. .RS 4
  4089. If true, then git will read the commit\-graph file (if it exists) to parse the graph structure of commits\&. Defaults to true\&. See
  4090. \fBgit-commit-graph\fR(1)
  4091. for more information\&.
  4092. .RE
  4093. .PP
  4094. core\&.useReplaceRefs
  4095. .RS 4
  4096. If set to
  4097. \fBfalse\fR, behave as if the
  4098. \fB\-\-no\-replace\-objects\fR
  4099. option was given on the command line\&. See
  4100. \fBgit\fR(1)
  4101. and
  4102. \fBgit-replace\fR(1)
  4103. for more information\&.
  4104. .RE
  4105. .PP
  4106. core\&.multiPackIndex
  4107. .RS 4
  4108. Use the multi\-pack\-index file to track multiple packfiles using a single index\&. See
  4109. \fBgit-multi-pack-index\fR(1)
  4110. for more information\&. Defaults to true\&.
  4111. .RE
  4112. .PP
  4113. core\&.sparseCheckout
  4114. .RS 4
  4115. Enable "sparse checkout" feature\&. See
  4116. \fBgit-sparse-checkout\fR(1)
  4117. for more information\&.
  4118. .RE
  4119. .PP
  4120. core\&.sparseCheckoutCone
  4121. .RS 4
  4122. Enables the "cone mode" of the sparse checkout feature\&. When the sparse\-checkout file contains a limited set of patterns, this mode provides significant performance advantages\&. The "non\-cone mode" can be requested to allow specifying more flexible patterns by setting this variable to
  4123. \fIfalse\fR\&. See
  4124. \fBgit-sparse-checkout\fR(1)
  4125. for more information\&.
  4126. .RE
  4127. .PP
  4128. core\&.abbrev
  4129. .RS 4
  4130. Set the length object names are abbreviated to\&. If unspecified or set to "auto", an appropriate value is computed based on the approximate number of packed objects in your repository, which hopefully is enough for abbreviated object names to stay unique for some time\&. If set to "no", no abbreviation is made and the object names are shown in their full length\&. The minimum length is 4\&.
  4131. .RE
  4132. .PP
  4133. core\&.maxTreeDepth
  4134. .RS 4
  4135. The maximum depth Git is willing to recurse while traversing a tree (e\&.g\&., "a/b/cde/f" has a depth of 4)\&. This is a fail\-safe to allow Git to abort cleanly, and should not generally need to be adjusted\&. When Git is compiled with MSVC, the default is 512\&. Otherwise, the default is 2048\&.
  4136. .RE
  4137. .PP
  4138. credential\&.helper
  4139. .RS 4
  4140. Specify an external helper to be called when a username or password credential is needed; the helper may consult external storage to avoid prompting the user for the credentials\&. This is normally the name of a credential helper with possible arguments, but may also be an absolute path with arguments or, if preceded by !, shell commands\&.
  4141. .sp
  4142. Note that multiple helpers may be defined\&. See
  4143. \fBgitcredentials\fR(7)
  4144. for details and examples\&.
  4145. .RE
  4146. .PP
  4147. credential\&.interactive
  4148. .RS 4
  4149. By default, Git and any configured credential helpers will ask for user input when new credentials are required\&. Many of these helpers will succeed based on stored credentials if those credentials are still valid\&. To avoid the possibility of user interactivity from Git, set
  4150. \fBcredential\&.interactive=false\fR\&. Some credential helpers respect this option as well\&.
  4151. .RE
  4152. .PP
  4153. credential\&.useHttpPath
  4154. .RS 4
  4155. When acquiring credentials, consider the "path" component of an http or https URL to be important\&. Defaults to false\&. See
  4156. \fBgitcredentials\fR(7)
  4157. for more information\&.
  4158. .RE
  4159. .PP
  4160. credential\&.sanitizePrompt
  4161. .RS 4
  4162. By default, user names and hosts that are shown as part of the password prompt are not allowed to contain control characters (they will be URL\-encoded by default)\&. Configure this setting to
  4163. \fBfalse\fR
  4164. to override that behavior\&.
  4165. .RE
  4166. .PP
  4167. credential\&.protectProtocol
  4168. .RS 4
  4169. By default, Carriage Return characters are not allowed in the protocol that is used when Git talks to a credential helper\&. This setting allows users to override this default\&.
  4170. .RE
  4171. .PP
  4172. credential\&.username
  4173. .RS 4
  4174. If no username is set for a network authentication, use this username by default\&. See credential\&.<context>\&.* below, and
  4175. \fBgitcredentials\fR(7)\&.
  4176. .RE
  4177. .PP
  4178. credential\&.<url>\&.*
  4179. .RS 4
  4180. Any of the credential\&.* options above can be applied selectively to some credentials\&. For example, "credential\&.https://example\&.com\&.username" would set the default username only for https connections to example\&.com\&. See
  4181. \fBgitcredentials\fR(7)
  4182. for details on how URLs are matched\&.
  4183. .RE
  4184. .PP
  4185. credentialCache\&.ignoreSIGHUP
  4186. .RS 4
  4187. Tell git\-credential\-cache\(em\:daemon to ignore SIGHUP, instead of quitting\&.
  4188. .RE
  4189. .PP
  4190. credentialStore\&.lockTimeoutMS
  4191. .RS 4
  4192. The length of time, in milliseconds, for git\-credential\-store to retry when trying to lock the credentials file\&. A value of 0 means not to retry at all; \-1 means to try indefinitely\&. Default is 1000 (i\&.e\&., retry for 1s)\&.
  4193. .RE
  4194. .PP
  4195. \fBdiff\&.autoRefreshIndex\fR
  4196. .RS 4
  4197. When using
  4198. \fBgit\fR
  4199. \fBdiff\fR
  4200. to compare with work tree files, do not consider stat\-only changes as changed\&. Instead, silently run
  4201. \fBgit\fR
  4202. \fBupdate\-index\fR
  4203. \fB\-\-refresh\fR
  4204. to update the cached stat information for paths whose contents in the work tree match the contents in the index\&. This option defaults to
  4205. \fBtrue\fR\&. Note that this affects only
  4206. \fBgit\fR
  4207. \fBdiff\fR
  4208. Porcelain, and not lower level
  4209. \fBdiff\fR
  4210. commands such as
  4211. \fBgit\fR
  4212. \fBdiff\-files\fR\&.
  4213. .RE
  4214. .PP
  4215. \fBdiff\&.dirstat\fR
  4216. .RS 4
  4217. A comma separated list of
  4218. \fB\-\-dirstat\fR
  4219. parameters specifying the default behavior of the
  4220. \fB\-\-dirstat\fR
  4221. option to
  4222. \fBgit-diff\fR(1)
  4223. and friends\&. The defaults can be overridden on the command line (using
  4224. \fB\-\-dirstat=\fR\fI<param>\fR\fB,\&.\&.\fR\&.)\&. The fallback defaults (when not changed by
  4225. \fBdiff\&.dirstat\fR) are
  4226. \fBchanges,noncumulative,3\fR\&. The following parameters are available:
  4227. .PP
  4228. \fBchanges\fR
  4229. .RS 4
  4230. Compute the dirstat numbers by counting the lines that have been removed from the source, or added to the destination\&. This ignores the amount of pure code movements within a file\&. In other words, rearranging lines in a file is not counted as much as other changes\&. This is the default behavior when no parameter is given\&.
  4231. .RE
  4232. .PP
  4233. \fBlines\fR
  4234. .RS 4
  4235. Compute the dirstat numbers by doing the regular line\-based diff analysis, and summing the removed/added line counts\&. (For binary files, count 64\-byte chunks instead, since binary files have no natural concept of lines)\&. This is a more expensive
  4236. \fB\-\-dirstat\fR
  4237. behavior than the
  4238. \fBchanges\fR
  4239. behavior, but it does count rearranged lines within a file as much as other changes\&. The resulting output is consistent with what you get from the other
  4240. \fB\-\-\fR*stat options\&.
  4241. .RE
  4242. .PP
  4243. \fBfiles\fR
  4244. .RS 4
  4245. Compute the dirstat numbers by counting the number of files changed\&. Each changed file counts equally in the dirstat analysis\&. This is the computationally cheapest
  4246. \fB\-\-dirstat\fR
  4247. behavior, since it does not have to look at the file contents at all\&.
  4248. .RE
  4249. .PP
  4250. \fBcumulative\fR
  4251. .RS 4
  4252. Count changes in a child directory for the parent directory as well\&. Note that when using
  4253. \fBcumulative\fR, the sum of the percentages reported may exceed 100%\&. The default (non\-cumulative) behavior can be specified with the
  4254. \fBnoncumulative\fR
  4255. parameter\&.
  4256. .RE
  4257. .PP
  4258. \fI<limit>\fR
  4259. .RS 4
  4260. An integer parameter specifies a cut\-off percent (3% by default)\&. Directories contributing less than this percentage of the changes are not shown in the output\&.
  4261. .RE
  4262. .sp
  4263. Example: The following will count changed files, while ignoring directories with less than 10% of the total amount of changed files, and accumulating child directory counts in the parent directories:
  4264. \fBfiles,10,cumulative\fR\&.
  4265. .RE
  4266. .PP
  4267. \fBdiff\&.statNameWidth\fR
  4268. .RS 4
  4269. Limit the width of the filename part in
  4270. \fB\-\-stat\fR
  4271. output\&. If set, applies to all commands generating
  4272. \fB\-\-stat\fR
  4273. output except
  4274. \fBformat\-patch\fR\&.
  4275. .RE
  4276. .PP
  4277. \fBdiff\&.statGraphWidth\fR
  4278. .RS 4
  4279. Limit the width of the graph part in
  4280. \fB\-\-stat\fR
  4281. output\&. If set, applies to all commands generating
  4282. \fB\-\-stat\fR
  4283. output except
  4284. \fBformat\-patch\fR\&.
  4285. .RE
  4286. .PP
  4287. \fBdiff\&.context\fR
  4288. .RS 4
  4289. Generate diffs with
  4290. \fI<n>\fR
  4291. lines of context instead of the default of 3\&. This value is overridden by the
  4292. \fB\-U\fR
  4293. option\&.
  4294. .RE
  4295. .PP
  4296. \fBdiff\&.interHunkContext\fR
  4297. .RS 4
  4298. Show the context between diff hunks, up to the specified number of lines, thereby fusing the hunks that are close to each other\&. This value serves as the default for the
  4299. \fB\-\-inter\-hunk\-context\fR
  4300. command line option\&.
  4301. .RE
  4302. .PP
  4303. \fBdiff\&.external\fR
  4304. .RS 4
  4305. If this config variable is set, diff generation is not performed using the internal diff machinery, but using the given command\&. Can be overridden with the
  4306. \fBGIT_EXTERNAL_DIFF\fR
  4307. environment variable\&. The command is called with parameters as described under "git Diffs" in
  4308. \fBgit\fR(1)\&. Note: if you want to use an external diff program only on a subset of your files, you might want to use
  4309. \fBgitattributes\fR(5)
  4310. instead\&.
  4311. .RE
  4312. .PP
  4313. \fBdiff\&.trustExitCode\fR
  4314. .RS 4
  4315. If this boolean value is set to
  4316. \fBtrue\fR
  4317. then the
  4318. \fBdiff\&.external\fR
  4319. command is expected to return exit code 0 if it considers the input files to be equal or 1 if it considers them to be different, like
  4320. \fBdiff\fR(1)\&. If it is set to
  4321. \fBfalse\fR, which is the default, then the command is expected to return exit code
  4322. \fB0\fR
  4323. regardless of equality\&. Any other exit code causes Git to report a fatal error\&.
  4324. .RE
  4325. .PP
  4326. \fBdiff\&.ignoreSubmodules\fR
  4327. .RS 4
  4328. Sets the default value of
  4329. \fB\-\-ignore\-submodules\fR\&. Note that this affects only
  4330. \fBgit\fR
  4331. \fBdiff\fR
  4332. Porcelain, and not lower level
  4333. \fBdiff\fR
  4334. commands such as
  4335. \fBgit\fR
  4336. \fBdiff\-files\fR\&.
  4337. \fBgit\fR
  4338. \fBcheckout\fR
  4339. and
  4340. \fBgit\fR
  4341. \fBswitch\fR
  4342. also honor this setting when reporting uncommitted changes\&. Setting it to
  4343. \fBall\fR
  4344. disables the submodule summary normally shown by
  4345. \fBgit\fR
  4346. \fBcommit\fR
  4347. and
  4348. \fBgit\fR
  4349. \fBstatus\fR
  4350. when
  4351. \fBstatus\&.submoduleSummary\fR
  4352. is set unless it is overridden by using the
  4353. \fB\-\-ignore\-submodules\fR
  4354. command\-line option\&. The
  4355. \fBgit\fR
  4356. \fBsubmodule\fR
  4357. commands are not affected by this setting\&. By default this is set to untracked so that any untracked submodules are ignored\&.
  4358. .RE
  4359. .PP
  4360. \fBdiff\&.mnemonicPrefix\fR
  4361. .RS 4
  4362. If set,
  4363. \fBgit\fR
  4364. \fBdiff\fR
  4365. uses a prefix pair that is different from the standard
  4366. \fBa/\fR
  4367. and
  4368. \fBb/\fR
  4369. depending on what is being compared\&. When this configuration is in effect, reverse diff output also swaps the order of the prefixes:
  4370. .PP
  4371. \fBgit\fR \fBdiff\fR
  4372. .RS 4
  4373. compares the (i)ndex and the (w)ork tree;
  4374. .RE
  4375. .PP
  4376. \fBgit\fR \fBdiff\fR \fBHEAD\fR
  4377. .RS 4
  4378. compares a (c)ommit and the (w)ork tree;
  4379. .RE
  4380. .PP
  4381. \fBgit\fR \fBdiff\fR \fB\-\-cached\fR
  4382. .RS 4
  4383. compares a (c)ommit and the (i)ndex;
  4384. .RE
  4385. .PP
  4386. \fBgit\fR \fBdiff\fR \fBHEAD:\fR\fI<file1>\fR \fI<file2>\fR
  4387. .RS 4
  4388. compares an (o)bject and a (w)ork tree entity;
  4389. .RE
  4390. .PP
  4391. \fBgit\fR \fBdiff\fR \fB\-\-no\-index\fR \fI<a>\fR \fI<b>\fR
  4392. .RS 4
  4393. compares two non\-git things
  4394. \fI<a>\fR
  4395. and
  4396. \fI<b>\fR\&.
  4397. .RE
  4398. .RE
  4399. .PP
  4400. \fBdiff\&.noPrefix\fR
  4401. .RS 4
  4402. If set,
  4403. \fBgit\fR
  4404. \fBdiff\fR
  4405. does not show any source or destination prefix\&.
  4406. .RE
  4407. .PP
  4408. \fBdiff\&.srcPrefix\fR
  4409. .RS 4
  4410. If set,
  4411. \fBgit\fR
  4412. \fBdiff\fR
  4413. uses this source prefix\&. Defaults to
  4414. \fBa/\fR\&.
  4415. .RE
  4416. .PP
  4417. \fBdiff\&.dstPrefix\fR
  4418. .RS 4
  4419. If set,
  4420. \fBgit\fR
  4421. \fBdiff\fR
  4422. uses this destination prefix\&. Defaults to
  4423. \fBb/\fR\&.
  4424. .RE
  4425. .PP
  4426. \fBdiff\&.relative\fR
  4427. .RS 4
  4428. If set to
  4429. \fBtrue\fR,
  4430. \fBgit\fR
  4431. \fBdiff\fR
  4432. does not show changes outside of the directory and show pathnames relative to the current directory\&.
  4433. .RE
  4434. .PP
  4435. \fBdiff\&.orderFile\fR
  4436. .RS 4
  4437. File indicating how to order files within a diff\&. See the
  4438. \fB\-O\fR
  4439. option to
  4440. \fBgit-diff\fR(1)
  4441. for details\&. If
  4442. \fBdiff\&.orderFile\fR
  4443. is a relative pathname, it is treated as relative to the top of the working tree\&.
  4444. .RE
  4445. .PP
  4446. \fBdiff\&.renameLimit\fR
  4447. .RS 4
  4448. The number of files to consider in the exhaustive portion of copy/rename detection; equivalent to the
  4449. \fBgit\fR
  4450. \fBdiff\fR
  4451. option
  4452. \fB\-l\fR\&. If not set, the default value is currently 1000\&. This setting has no effect if rename detection is turned off\&.
  4453. .RE
  4454. .PP
  4455. \fBdiff\&.renames\fR
  4456. .RS 4
  4457. Whether and how Git detects renames\&. If set to
  4458. \fBfalse\fR, rename detection is disabled\&. If set to
  4459. \fBtrue\fR, basic rename detection is enabled\&. If set to
  4460. \fBcopies\fR
  4461. or
  4462. \fBcopy\fR, Git will detect copies, as well\&. Defaults to
  4463. \fBtrue\fR\&. Note that this affects only
  4464. \fBgit\fR
  4465. \fBdiff\fR
  4466. Porcelain like
  4467. \fBgit-diff\fR(1)
  4468. and
  4469. \fBgit-log\fR(1), and not lower level commands such as
  4470. \fBgit-diff-files\fR(1)\&.
  4471. .RE
  4472. .PP
  4473. \fBdiff\&.suppressBlankEmpty\fR
  4474. .RS 4
  4475. A boolean to inhibit the standard behavior of printing a space before each empty output line\&. Defaults to
  4476. \fBfalse\fR\&.
  4477. .RE
  4478. .PP
  4479. \fBdiff\&.submodule\fR
  4480. .RS 4
  4481. Specify the format in which differences in submodules are shown\&. The
  4482. \fBshort\fR
  4483. format just shows the names of the commits at the beginning and end of the range\&. The
  4484. \fBlog\fR
  4485. format lists the commits in the range like
  4486. \fBgit-submodule\fR(1)
  4487. \fBsummary\fR
  4488. does\&. The
  4489. \fBdiff\fR
  4490. format shows an inline diff of the changed contents of the submodule\&. Defaults to
  4491. \fBshort\fR\&.
  4492. .RE
  4493. .PP
  4494. \fBdiff\&.wordRegex\fR
  4495. .RS 4
  4496. A POSIX Extended Regular Expression used to determine what is a "word" when performing word\-by\-word difference calculations\&. Character sequences that match the regular expression are "words", all other characters are
  4497. \fBignorable\fR
  4498. whitespace\&.
  4499. .RE
  4500. .PP
  4501. \fBdiff\&.\fR\fI<driver>\fR\fB\&.command\fR
  4502. .RS 4
  4503. The custom diff driver command\&. See
  4504. \fBgitattributes\fR(5)
  4505. for details\&.
  4506. .RE
  4507. .PP
  4508. \fBdiff\&.\fR\fI<driver>\fR\fB\&.trustExitCode\fR
  4509. .RS 4
  4510. If this boolean value is set to
  4511. \fBtrue\fR
  4512. then the
  4513. \fBdiff\&.\fR\fI<driver>\fR\fB\&.command\fR
  4514. command is expected to return exit code 0 if it considers the input files to be equal or 1 if it considers them to be different, like
  4515. \fBdiff\fR(1)\&. If it is set to
  4516. \fBfalse\fR, which is the default, then the command is expected to return exit code 0 regardless of equality\&. Any other exit code causes Git to report a fatal error\&.
  4517. .RE
  4518. .PP
  4519. \fBdiff\&.\fR\fI<driver>\fR\fB\&.xfuncname\fR
  4520. .RS 4
  4521. The regular expression that the diff driver should use to recognize the hunk header\&. A built\-in pattern may also be used\&. See
  4522. \fBgitattributes\fR(5)
  4523. for details\&.
  4524. .RE
  4525. .PP
  4526. \fBdiff\&.\fR\fI<driver>\fR\fB\&.binary\fR
  4527. .RS 4
  4528. Set this option to
  4529. \fBtrue\fR
  4530. to make the diff driver treat files as binary\&. See
  4531. \fBgitattributes\fR(5)
  4532. for details\&.
  4533. .RE
  4534. .PP
  4535. \fBdiff\&.\fR\fI<driver>\fR\fB\&.textconv\fR
  4536. .RS 4
  4537. The command that the diff driver should call to generate the text\-converted version of a file\&. The result of the conversion is used to generate a human\-readable diff\&. See
  4538. \fBgitattributes\fR(5)
  4539. for details\&.
  4540. .RE
  4541. .PP
  4542. \fBdiff\&.\fR\fI<driver>\fR\fB\&.wordRegex\fR
  4543. .RS 4
  4544. The regular expression that the diff driver should use to split words in a line\&. See
  4545. \fBgitattributes\fR(5)
  4546. for details\&.
  4547. .RE
  4548. .PP
  4549. \fBdiff\&.\fR\fI<driver>\fR\fB\&.cachetextconv\fR
  4550. .RS 4
  4551. Set this option to
  4552. \fBtrue\fR
  4553. to make the diff driver cache the text conversion outputs\&. See
  4554. \fBgitattributes\fR(5)
  4555. for details\&.
  4556. .RE
  4557. .PP
  4558. \fBdiff\&.indentHeuristic\fR
  4559. .RS 4
  4560. Set this option to
  4561. \fBfalse\fR
  4562. to disable the default heuristics that shift diff hunk boundaries to make patches easier to read\&.
  4563. .RE
  4564. .PP
  4565. \fBdiff\&.algorithm\fR
  4566. .RS 4
  4567. Choose a diff algorithm\&. The variants are as follows:
  4568. .PP
  4569. \fBdefault\fR, \fBmyers\fR
  4570. .RS 4
  4571. The basic greedy diff algorithm\&. Currently, this is the default\&.
  4572. .RE
  4573. .PP
  4574. \fBminimal\fR
  4575. .RS 4
  4576. Spend extra time to make sure the smallest possible diff is produced\&.
  4577. .RE
  4578. .PP
  4579. \fBpatience\fR
  4580. .RS 4
  4581. Use "patience diff" algorithm when generating patches\&.
  4582. .RE
  4583. .PP
  4584. \fBhistogram\fR
  4585. .RS 4
  4586. This algorithm extends the patience algorithm to "support low\-occurrence common elements"\&.
  4587. .RE
  4588. .RE
  4589. .PP
  4590. \fBdiff\&.wsErrorHighlight\fR
  4591. .RS 4
  4592. Highlight whitespace errors in the
  4593. \fBcontext\fR,
  4594. \fBold\fR
  4595. or
  4596. \fBnew\fR
  4597. lines of the diff\&. Multiple values are separated by comma,
  4598. \fBnone\fR
  4599. resets previous values,
  4600. \fBdefault\fR
  4601. reset the list to
  4602. \fBnew\fR
  4603. and
  4604. \fBall\fR
  4605. is a shorthand for
  4606. \fBold,new,context\fR\&. The whitespace errors are colored with
  4607. \fBcolor\&.diff\&.whitespace\fR\&. The command line option
  4608. \fB\-\-ws\-error\-highlight=\fR\fI<kind>\fR
  4609. overrides this setting\&.
  4610. .RE
  4611. .PP
  4612. \fBdiff\&.colorMoved\fR
  4613. .RS 4
  4614. If set to either a valid
  4615. \fI<mode>\fR
  4616. or a
  4617. \fBtrue\fR
  4618. value, moved lines in a diff are colored differently\&. For details of valid modes see
  4619. \fB\-\-color\-moved\fR
  4620. in
  4621. \fBgit-diff\fR(1)\&. If simply set to
  4622. \fBtrue\fR
  4623. the default color mode will be used\&. When set to
  4624. \fBfalse\fR, moved lines are not colored\&.
  4625. .RE
  4626. .PP
  4627. \fBdiff\&.colorMovedWS\fR
  4628. .RS 4
  4629. When moved lines are colored using e\&.g\&. the
  4630. \fBdiff\&.colorMoved\fR
  4631. setting, this option controls the mode how spaces are treated\&. For details of valid modes see
  4632. \fB\-\-color\-moved\-ws\fR
  4633. in
  4634. \fBgit-diff\fR(1)\&.
  4635. .RE
  4636. .PP
  4637. diff\&.tool
  4638. .RS 4
  4639. Controls which diff tool is used by
  4640. \fBgit-difftool\fR(1)\&. This variable overrides the value configured in
  4641. \fBmerge\&.tool\fR\&. The list below shows the valid built\-in values\&. Any other value is treated as a custom diff tool and requires that a corresponding difftool\&.<tool>\&.cmd variable is defined\&.
  4642. .RE
  4643. .PP
  4644. diff\&.guitool
  4645. .RS 4
  4646. Controls which diff tool is used by
  4647. \fBgit-difftool\fR(1)
  4648. when the \-g/\-\-gui flag is specified\&. This variable overrides the value configured in
  4649. \fBmerge\&.guitool\fR\&. The list below shows the valid built\-in values\&. Any other value is treated as a custom diff tool and requires that a corresponding difftool\&.<guitool>\&.cmd variable is defined\&.
  4650. .PP
  4651. \fBaraxis\fR
  4652. .RS 4
  4653. Use Araxis Merge (requires a graphical session)
  4654. .RE
  4655. .PP
  4656. \fBbc\fR
  4657. .RS 4
  4658. Use Beyond Compare (requires a graphical session)
  4659. .RE
  4660. .PP
  4661. \fBbc3\fR
  4662. .RS 4
  4663. Use Beyond Compare (requires a graphical session)
  4664. .RE
  4665. .PP
  4666. \fBbc4\fR
  4667. .RS 4
  4668. Use Beyond Compare (requires a graphical session)
  4669. .RE
  4670. .PP
  4671. \fBcodecompare\fR
  4672. .RS 4
  4673. Use Code Compare (requires a graphical session)
  4674. .RE
  4675. .PP
  4676. \fBdeltawalker\fR
  4677. .RS 4
  4678. Use DeltaWalker (requires a graphical session)
  4679. .RE
  4680. .PP
  4681. \fBdiffmerge\fR
  4682. .RS 4
  4683. Use DiffMerge (requires a graphical session)
  4684. .RE
  4685. .PP
  4686. \fBdiffuse\fR
  4687. .RS 4
  4688. Use Diffuse (requires a graphical session)
  4689. .RE
  4690. .PP
  4691. \fBecmerge\fR
  4692. .RS 4
  4693. Use ECMerge (requires a graphical session)
  4694. .RE
  4695. .PP
  4696. \fBemerge\fR
  4697. .RS 4
  4698. Use Emacs\*(Aq Emerge
  4699. .RE
  4700. .PP
  4701. \fBexamdiff\fR
  4702. .RS 4
  4703. Use ExamDiff Pro (requires a graphical session)
  4704. .RE
  4705. .PP
  4706. \fBguiffy\fR
  4707. .RS 4
  4708. Use Guiffy\(cqs Diff Tool (requires a graphical session)
  4709. .RE
  4710. .PP
  4711. \fBgvimdiff\fR
  4712. .RS 4
  4713. Use gVim (requires a graphical session)
  4714. .RE
  4715. .PP
  4716. \fBkdiff3\fR
  4717. .RS 4
  4718. Use KDiff3 (requires a graphical session)
  4719. .RE
  4720. .PP
  4721. \fBkompare\fR
  4722. .RS 4
  4723. Use Kompare (requires a graphical session)
  4724. .RE
  4725. .PP
  4726. \fBmeld\fR
  4727. .RS 4
  4728. Use Meld (requires a graphical session)
  4729. .RE
  4730. .PP
  4731. \fBnvimdiff\fR
  4732. .RS 4
  4733. Use Neovim
  4734. .RE
  4735. .PP
  4736. \fBopendiff\fR
  4737. .RS 4
  4738. Use FileMerge (requires a graphical session)
  4739. .RE
  4740. .PP
  4741. \fBp4merge\fR
  4742. .RS 4
  4743. Use HelixCore P4Merge (requires a graphical session)
  4744. .RE
  4745. .PP
  4746. \fBsmerge\fR
  4747. .RS 4
  4748. Use Sublime Merge (requires a graphical session)
  4749. .RE
  4750. .PP
  4751. \fBtkdiff\fR
  4752. .RS 4
  4753. Use TkDiff (requires a graphical session)
  4754. .RE
  4755. .PP
  4756. \fBvimdiff\fR
  4757. .RS 4
  4758. Use Vim
  4759. .RE
  4760. .PP
  4761. \fBvscode\fR
  4762. .RS 4
  4763. Use Visual Studio Code (requires a graphical session)
  4764. .RE
  4765. .PP
  4766. \fBwinmerge\fR
  4767. .RS 4
  4768. Use WinMerge (requires a graphical session)
  4769. .RE
  4770. .PP
  4771. \fBxxdiff\fR
  4772. .RS 4
  4773. Use xxdiff (requires a graphical session)
  4774. .RE
  4775. .RE
  4776. .PP
  4777. difftool\&.<tool>\&.cmd
  4778. .RS 4
  4779. Specify the command to invoke the specified diff tool\&. The specified command is evaluated in shell with the following variables available:
  4780. \fILOCAL\fR
  4781. is set to the name of the temporary file containing the contents of the diff pre\-image and
  4782. \fIREMOTE\fR
  4783. is set to the name of the temporary file containing the contents of the diff post\-image\&.
  4784. .sp
  4785. See the
  4786. \fB\-\-tool=\fR\fI<tool>\fR
  4787. option in
  4788. \fBgit-difftool\fR(1)
  4789. for more details\&.
  4790. .RE
  4791. .PP
  4792. difftool\&.<tool>\&.path
  4793. .RS 4
  4794. Override the path for the given tool\&. This is useful in case your tool is not in the PATH\&.
  4795. .RE
  4796. .PP
  4797. difftool\&.trustExitCode
  4798. .RS 4
  4799. Exit difftool if the invoked diff tool returns a non\-zero exit status\&.
  4800. .sp
  4801. See the
  4802. \fB\-\-trust\-exit\-code\fR
  4803. option in
  4804. \fBgit-difftool\fR(1)
  4805. for more details\&.
  4806. .RE
  4807. .PP
  4808. difftool\&.prompt
  4809. .RS 4
  4810. Prompt before each invocation of the diff tool\&.
  4811. .RE
  4812. .PP
  4813. difftool\&.guiDefault
  4814. .RS 4
  4815. Set
  4816. \fBtrue\fR
  4817. to use the
  4818. \fBdiff\&.guitool\fR
  4819. by default (equivalent to specifying the
  4820. \fB\-\-gui\fR
  4821. argument), or
  4822. \fBauto\fR
  4823. to select
  4824. \fBdiff\&.guitool\fR
  4825. or
  4826. \fBdiff\&.tool\fR
  4827. depending on the presence of a
  4828. \fBDISPLAY\fR
  4829. environment variable value\&. The default is
  4830. \fBfalse\fR, where the
  4831. \fB\-\-gui\fR
  4832. argument must be provided explicitly for the
  4833. \fBdiff\&.guitool\fR
  4834. to be used\&.
  4835. .RE
  4836. .PP
  4837. extensions\&.*
  4838. .RS 4
  4839. Unless otherwise stated, is an error to specify an extension if
  4840. \fBcore\&.repositoryFormatVersion\fR
  4841. is not
  4842. \fB1\fR\&. See
  4843. \fBgitrepository-layout\fR(5)\&.
  4844. .PP
  4845. compatObjectFormat
  4846. .RS 4
  4847. Specify a compatibility hash algorithm to use\&. The acceptable values are
  4848. \fBsha1\fR
  4849. and
  4850. \fBsha256\fR\&. The value specified must be different from the value of
  4851. \fBextensions\&.objectFormat\fR\&. This allows client level interoperability between git repositories whose objectFormat matches this compatObjectFormat\&. In particular when fully implemented the pushes and pulls from a repository in whose objectFormat matches compatObjectFormat\&. As well as being able to use oids encoded in compatObjectFormat in addition to oids encoded with objectFormat to locally specify objects\&.
  4852. .RE
  4853. .PP
  4854. noop
  4855. .RS 4
  4856. This extension does not change git\(cqs behavior at all\&. It is useful only for testing format\-1 compatibility\&.
  4857. .sp
  4858. For historical reasons, this extension is respected regardless of the
  4859. \fBcore\&.repositoryFormatVersion\fR
  4860. setting\&.
  4861. .RE
  4862. .PP
  4863. noop\-v1
  4864. .RS 4
  4865. This extension does not change git\(cqs behavior at all\&. It is useful only for testing format\-1 compatibility\&.
  4866. .RE
  4867. .PP
  4868. objectFormat
  4869. .RS 4
  4870. Specify the hash algorithm to use\&. The acceptable values are
  4871. \fBsha1\fR
  4872. and
  4873. \fBsha256\fR\&. If not specified,
  4874. \fBsha1\fR
  4875. is assumed\&.
  4876. .sp
  4877. Note that this setting should only be set by
  4878. \fBgit-init\fR(1)
  4879. or
  4880. \fBgit-clone\fR(1)\&. Trying to change it after initialization will not work and will produce hard\-to\-diagnose issues\&.
  4881. .RE
  4882. .PP
  4883. partialClone
  4884. .RS 4
  4885. When enabled, indicates that the repo was created with a partial clone (or later performed a partial fetch) and that the remote may have omitted sending certain unwanted objects\&. Such a remote is called a "promisor remote" and it promises that all such omitted objects can be fetched from it in the future\&.
  4886. .sp
  4887. The value of this key is the name of the promisor remote\&.
  4888. .sp
  4889. For historical reasons, this extension is respected regardless of the
  4890. \fBcore\&.repositoryFormatVersion\fR
  4891. setting\&.
  4892. .RE
  4893. .PP
  4894. preciousObjects
  4895. .RS 4
  4896. If enabled, indicates that objects in the repository MUST NOT be deleted (e\&.g\&., by
  4897. \fBgit\-prune\fR
  4898. or
  4899. \fBgit\fR
  4900. \fBrepack\fR
  4901. \fB\-d\fR)\&.
  4902. .sp
  4903. For historical reasons, this extension is respected regardless of the
  4904. \fBcore\&.repositoryFormatVersion\fR
  4905. setting\&.
  4906. .RE
  4907. .PP
  4908. refStorage
  4909. .RS 4
  4910. Specify the ref storage format to use\&. The acceptable values are:
  4911. .sp
  4912. .RS 4
  4913. .ie n \{\
  4914. \h'-04'\(bu\h'+03'\c
  4915. .\}
  4916. .el \{\
  4917. .sp -1
  4918. .IP \(bu 2.3
  4919. .\}
  4920. \fBfiles\fR
  4921. for loose files with packed\-refs\&. This is the default\&.
  4922. .RE
  4923. .sp
  4924. .RS 4
  4925. .ie n \{\
  4926. \h'-04'\(bu\h'+03'\c
  4927. .\}
  4928. .el \{\
  4929. .sp -1
  4930. .IP \(bu 2.3
  4931. .\}
  4932. \fBreftable\fR
  4933. for the reftable format\&. This format is experimental and its internals are subject to change\&.
  4934. .RE
  4935. .sp
  4936. Note that this setting should only be set by
  4937. \fBgit-init\fR(1)
  4938. or
  4939. \fBgit-clone\fR(1)\&. Trying to change it after initialization will not work and will produce hard\-to\-diagnose issues\&.
  4940. .RE
  4941. .PP
  4942. relativeWorktrees
  4943. .RS 4
  4944. If enabled, indicates at least one worktree has been linked with relative paths\&. Automatically set if a worktree has been created or repaired with either the
  4945. \fB\-\-relative\-paths\fR
  4946. option or with the
  4947. \fBworktree\&.useRelativePaths\fR
  4948. config set to
  4949. \fBtrue\fR\&.
  4950. .RE
  4951. .PP
  4952. worktreeConfig
  4953. .RS 4
  4954. If enabled, then worktrees will load config settings from the
  4955. \fB$GIT_DIR/config\&.worktree\fR
  4956. file in addition to the
  4957. \fB$GIT_COMMON_DIR/config\fR
  4958. file\&. Note that
  4959. \fB$GIT_COMMON_DIR\fR
  4960. and
  4961. \fB$GIT_DIR\fR
  4962. are the same for the main working tree, while other working trees have
  4963. \fB$GIT_DIR\fR
  4964. equal to
  4965. \fB$GIT_COMMON_DIR/worktrees/\fR\fI<id>\fR\fB/\fR\&. The settings in the
  4966. \fBconfig\&.worktree\fR
  4967. file will override settings from any other config files\&.
  4968. .sp
  4969. When enabling this extension, you must be careful to move certain values from the common config file to the main working tree\(cqs
  4970. \fBconfig\&.worktree\fR
  4971. file, if present:
  4972. .sp
  4973. .RS 4
  4974. .ie n \{\
  4975. \h'-04'\(bu\h'+03'\c
  4976. .\}
  4977. .el \{\
  4978. .sp -1
  4979. .IP \(bu 2.3
  4980. .\}
  4981. \fBcore\&.worktree\fR
  4982. must be moved from
  4983. \fB$GIT_COMMON_DIR/config\fR
  4984. to
  4985. \fB$GIT_COMMON_DIR/config\&.worktree\fR\&.
  4986. .RE
  4987. .sp
  4988. .RS 4
  4989. .ie n \{\
  4990. \h'-04'\(bu\h'+03'\c
  4991. .\}
  4992. .el \{\
  4993. .sp -1
  4994. .IP \(bu 2.3
  4995. .\}
  4996. If
  4997. \fBcore\&.bare\fR
  4998. is true, then it must be moved from
  4999. \fB$GIT_COMMON_DIR/config\fR
  5000. to
  5001. \fB$GIT_COMMON_DIR/config\&.worktree\fR\&.
  5002. .RE
  5003. .sp
  5004. It may also be beneficial to adjust the locations of
  5005. \fBcore\&.sparseCheckout\fR
  5006. and
  5007. \fBcore\&.sparseCheckoutCone\fR
  5008. depending on your desire for customizable sparse\-checkout settings for each worktree\&. By default, the
  5009. \fBgit\fR
  5010. \fBsparse\-checkout\fR
  5011. builtin enables this extension, assigns these config values on a per\-worktree basis, and uses the
  5012. \fB$GIT_DIR/info/sparse\-checkout\fR
  5013. file to specify the sparsity for each worktree independently\&. See
  5014. \fBgit-sparse-checkout\fR(1)
  5015. for more details\&.
  5016. .sp
  5017. + For historical reasons, this extension is respected regardless of the
  5018. \fBcore\&.repositoryFormatVersion\fR
  5019. setting\&.
  5020. .RE
  5021. .RE
  5022. .PP
  5023. fastimport\&.unpackLimit
  5024. .RS 4
  5025. If the number of objects imported by
  5026. \fBgit-fast-import\fR(1)
  5027. is below this limit, then the objects will be unpacked into loose object files\&. However, if the number of imported objects equals or exceeds this limit, then the pack will be stored as a pack\&. Storing the pack from a fast\-import can make the import operation complete faster, especially on slow filesystems\&. If not set, the value of
  5028. \fBtransfer\&.unpackLimit\fR
  5029. is used instead\&.
  5030. .RE
  5031. .PP
  5032. feature\&.*
  5033. .RS 4
  5034. The config settings that start with
  5035. \fBfeature\&.\fR
  5036. modify the defaults of a group of other config settings\&. These groups are created by the Git developer community as recommended defaults and are subject to change\&. In particular, new config options may be added with different defaults\&.
  5037. .RE
  5038. .PP
  5039. feature\&.experimental
  5040. .RS 4
  5041. Enable config options that are new to Git, and are being considered for future defaults\&. Config settings included here may be added or removed with each release, including minor version updates\&. These settings may have unintended interactions since they are so new\&. Please enable this setting if you are interested in providing feedback on experimental features\&. The new default values are:
  5042. .sp
  5043. .RS 4
  5044. .ie n \{\
  5045. \h'-04'\(bu\h'+03'\c
  5046. .\}
  5047. .el \{\
  5048. .sp -1
  5049. .IP \(bu 2.3
  5050. .\}
  5051. \fBfetch\&.negotiationAlgorithm=skipping\fR
  5052. may improve fetch negotiation times by skipping more commits at a time, reducing the number of round trips\&.
  5053. .RE
  5054. .sp
  5055. .RS 4
  5056. .ie n \{\
  5057. \h'-04'\(bu\h'+03'\c
  5058. .\}
  5059. .el \{\
  5060. .sp -1
  5061. .IP \(bu 2.3
  5062. .\}
  5063. \fBpack\&.useBitmapBoundaryTraversal=true\fR
  5064. may improve bitmap traversal times by walking fewer objects\&.
  5065. .RE
  5066. .sp
  5067. .RS 4
  5068. .ie n \{\
  5069. \h'-04'\(bu\h'+03'\c
  5070. .\}
  5071. .el \{\
  5072. .sp -1
  5073. .IP \(bu 2.3
  5074. .\}
  5075. \fBpack\&.allowPackReuse=multi\fR
  5076. may improve the time it takes to create a pack by reusing objects from multiple packs instead of just one\&.
  5077. .RE
  5078. .RE
  5079. .PP
  5080. feature\&.manyFiles
  5081. .RS 4
  5082. Enable config options that optimize for repos with many files in the working directory\&. With many files, commands such as
  5083. \fBgit\fR
  5084. \fBstatus\fR
  5085. and
  5086. \fBgit\fR
  5087. \fBcheckout\fR
  5088. may be slow and these new defaults improve performance:
  5089. .sp
  5090. .RS 4
  5091. .ie n \{\
  5092. \h'-04'\(bu\h'+03'\c
  5093. .\}
  5094. .el \{\
  5095. .sp -1
  5096. .IP \(bu 2.3
  5097. .\}
  5098. \fBindex\&.skipHash=true\fR
  5099. speeds up index writes by not computing a trailing checksum\&. Note that this will cause Git versions earlier than 2\&.13\&.0 to refuse to parse the index and Git versions earlier than 2\&.40\&.0 will report a corrupted index during
  5100. \fBgit\fR
  5101. \fBfsck\fR\&.
  5102. .RE
  5103. .sp
  5104. .RS 4
  5105. .ie n \{\
  5106. \h'-04'\(bu\h'+03'\c
  5107. .\}
  5108. .el \{\
  5109. .sp -1
  5110. .IP \(bu 2.3
  5111. .\}
  5112. \fBindex\&.version=4\fR
  5113. enables path\-prefix compression in the index\&.
  5114. .RE
  5115. .sp
  5116. .RS 4
  5117. .ie n \{\
  5118. \h'-04'\(bu\h'+03'\c
  5119. .\}
  5120. .el \{\
  5121. .sp -1
  5122. .IP \(bu 2.3
  5123. .\}
  5124. \fBcore\&.untrackedCache=true\fR
  5125. enables the untracked cache\&. This setting assumes that mtime is working on your machine\&.
  5126. .RE
  5127. .RE
  5128. .PP
  5129. fetch\&.recurseSubmodules
  5130. .RS 4
  5131. This option controls whether
  5132. \fBgit\fR
  5133. \fBfetch\fR
  5134. (and the underlying fetch in
  5135. \fBgit\fR
  5136. \fBpull\fR) will recursively fetch into populated submodules\&. This option can be set either to a boolean value or to
  5137. \fIon\-demand\fR\&. Setting it to a boolean changes the behavior of fetch and pull to recurse unconditionally into submodules when set to true or to not recurse at all when set to false\&. When set to
  5138. \fIon\-demand\fR, fetch and pull will only recurse into a populated submodule when its superproject retrieves a commit that updates the submodule\(cqs reference\&. Defaults to
  5139. \fIon\-demand\fR, or to the value of
  5140. \fIsubmodule\&.recurse\fR
  5141. if set\&.
  5142. .RE
  5143. .PP
  5144. fetch\&.fsckObjects
  5145. .RS 4
  5146. If it is set to true, git\-fetch\-pack will check all fetched objects\&. See
  5147. \fBtransfer\&.fsckObjects\fR
  5148. for what\(cqs checked\&. Defaults to false\&. If not set, the value of
  5149. \fBtransfer\&.fsckObjects\fR
  5150. is used instead\&.
  5151. .RE
  5152. .PP
  5153. fetch\&.fsck\&.<msg\-id>
  5154. .RS 4
  5155. Acts like
  5156. \fBfsck\&.\fR\fI<msg\-id>\fR, but is used by
  5157. \fBgit-fetch-pack\fR(1)
  5158. instead of
  5159. \fBgit-fsck\fR(1)\&. See the
  5160. \fBfsck\&.\fR\fI<msg\-id>\fR
  5161. documentation for details\&.
  5162. .RE
  5163. .PP
  5164. fetch\&.fsck\&.skipList
  5165. .RS 4
  5166. Acts like
  5167. \fBfsck\&.skipList\fR, but is used by
  5168. \fBgit-fetch-pack\fR(1)
  5169. instead of
  5170. \fBgit-fsck\fR(1)\&. See the
  5171. \fBfsck\&.skipList\fR
  5172. documentation for details\&.
  5173. .RE
  5174. .PP
  5175. fetch\&.unpackLimit
  5176. .RS 4
  5177. If the number of objects fetched over the Git native transfer is below this limit, then the objects will be unpacked into loose object files\&. However if the number of received objects equals or exceeds this limit then the received pack will be stored as a pack, after adding any missing delta bases\&. Storing the pack from a push can make the push operation complete faster, especially on slow filesystems\&. If not set, the value of
  5178. \fBtransfer\&.unpackLimit\fR
  5179. is used instead\&.
  5180. .RE
  5181. .PP
  5182. fetch\&.prune
  5183. .RS 4
  5184. If true, fetch will automatically behave as if the
  5185. \fB\-\-prune\fR
  5186. option was given on the command line\&. See also
  5187. \fBremote\&.\fR\fI<name>\fR\fB\&.prune\fR
  5188. and the PRUNING section of
  5189. \fBgit-fetch\fR(1)\&.
  5190. .RE
  5191. .PP
  5192. fetch\&.pruneTags
  5193. .RS 4
  5194. If true, fetch will automatically behave as if the
  5195. \fBrefs/tags/\fR*:refs/tags/* refspec was provided when pruning, if not set already\&. This allows for setting both this option and
  5196. \fBfetch\&.prune\fR
  5197. to maintain a 1=1 mapping to upstream refs\&. See also
  5198. \fBremote\&.\fR\fI<name>\fR\fB\&.pruneTags\fR
  5199. and the PRUNING section of
  5200. \fBgit-fetch\fR(1)\&.
  5201. .RE
  5202. .PP
  5203. fetch\&.all
  5204. .RS 4
  5205. If true, fetch will attempt to update all available remotes\&. This behavior can be overridden by passing
  5206. \fB\-\-no\-all\fR
  5207. or by explicitly specifying one or more remote(s) to fetch from\&. Defaults to false\&.
  5208. .RE
  5209. .PP
  5210. fetch\&.output
  5211. .RS 4
  5212. Control how ref update status is printed\&. Valid values are
  5213. \fBfull\fR
  5214. and
  5215. \fBcompact\fR\&. Default value is
  5216. \fBfull\fR\&. See the OUTPUT section in
  5217. \fBgit-fetch\fR(1)
  5218. for details\&.
  5219. .RE
  5220. .PP
  5221. fetch\&.negotiationAlgorithm
  5222. .RS 4
  5223. Control how information about the commits in the local repository is sent when negotiating the contents of the packfile to be sent by the server\&. Set to "consecutive" to use an algorithm that walks over consecutive commits checking each one\&. Set to "skipping" to use an algorithm that skips commits in an effort to converge faster, but may result in a larger\-than\-necessary packfile; or set to "noop" to not send any information at all, which will almost certainly result in a larger\-than\-necessary packfile, but will skip the negotiation step\&. Set to "default" to override settings made previously and use the default behaviour\&. The default is normally "consecutive", but if
  5224. \fBfeature\&.experimental\fR
  5225. is true, then the default is "skipping"\&. Unknown values will cause
  5226. \fIgit fetch\fR
  5227. to error out\&.
  5228. .sp
  5229. See also the
  5230. \fB\-\-negotiate\-only\fR
  5231. and
  5232. \fB\-\-negotiation\-tip\fR
  5233. options to
  5234. \fBgit-fetch\fR(1)\&.
  5235. .RE
  5236. .PP
  5237. fetch\&.showForcedUpdates
  5238. .RS 4
  5239. Set to false to enable
  5240. \fB\-\-no\-show\-forced\-updates\fR
  5241. in
  5242. \fBgit-fetch\fR(1)
  5243. and
  5244. \fBgit-pull\fR(1)
  5245. commands\&. Defaults to true\&.
  5246. .RE
  5247. .PP
  5248. fetch\&.parallel
  5249. .RS 4
  5250. Specifies the maximal number of fetch operations to be run in parallel at a time (submodules, or remotes when the
  5251. \fB\-\-multiple\fR
  5252. option of
  5253. \fBgit-fetch\fR(1)
  5254. is in effect)\&.
  5255. .sp
  5256. A value of 0 will give some reasonable default\&. If unset, it defaults to 1\&.
  5257. .sp
  5258. For submodules, this setting can be overridden using the
  5259. \fBsubmodule\&.fetchJobs\fR
  5260. config setting\&.
  5261. .RE
  5262. .PP
  5263. fetch\&.writeCommitGraph
  5264. .RS 4
  5265. Set to true to write a commit\-graph after every
  5266. \fBgit\fR
  5267. \fBfetch\fR
  5268. command that downloads a pack\-file from a remote\&. Using the
  5269. \fB\-\-split\fR
  5270. option, most executions will create a very small commit\-graph file on top of the existing commit\-graph file(s)\&. Occasionally, these files will merge and the write may take longer\&. Having an updated commit\-graph file helps performance of many Git commands, including
  5271. \fBgit\fR
  5272. \fBmerge\-base\fR,
  5273. \fBgit\fR
  5274. \fBpush\fR
  5275. \fB\-f\fR, and
  5276. \fBgit\fR
  5277. \fBlog\fR
  5278. \fB\-\-graph\fR\&. Defaults to false\&.
  5279. .RE
  5280. .PP
  5281. fetch\&.bundleURI
  5282. .RS 4
  5283. This value stores a URI for downloading Git object data from a bundle URI before performing an incremental fetch from the origin Git server\&. This is similar to how the
  5284. \fB\-\-bundle\-uri\fR
  5285. option behaves in
  5286. \fBgit-clone\fR(1)\&.
  5287. \fBgit\fR
  5288. \fBclone\fR
  5289. \fB\-\-bundle\-uri\fR
  5290. will set the
  5291. \fBfetch\&.bundleURI\fR
  5292. value if the supplied bundle URI contains a bundle list that is organized for incremental fetches\&.
  5293. .sp
  5294. If you modify this value and your repository has a
  5295. \fBfetch\&.bundleCreationToken\fR
  5296. value, then remove that
  5297. \fBfetch\&.bundleCreationToken\fR
  5298. value before fetching from the new bundle URI\&.
  5299. .RE
  5300. .PP
  5301. fetch\&.bundleCreationToken
  5302. .RS 4
  5303. When using
  5304. \fBfetch\&.bundleURI\fR
  5305. to fetch incrementally from a bundle list that uses the "creationToken" heuristic, this config value stores the maximum
  5306. \fBcreationToken\fR
  5307. value of the downloaded bundles\&. This value is used to prevent downloading bundles in the future if the advertised
  5308. \fBcreationToken\fR
  5309. is not strictly larger than this value\&.
  5310. .sp
  5311. The creation token values are chosen by the provider serving the specific bundle URI\&. If you modify the URI at
  5312. \fBfetch\&.bundleURI\fR, then be sure to remove the value for the
  5313. \fBfetch\&.bundleCreationToken\fR
  5314. value before fetching\&.
  5315. .RE
  5316. .PP
  5317. filter\&.<driver>\&.clean
  5318. .RS 4
  5319. The command which is used to convert the content of a worktree file to a blob upon checkin\&. See
  5320. \fBgitattributes\fR(5)
  5321. for details\&.
  5322. .RE
  5323. .PP
  5324. filter\&.<driver>\&.smudge
  5325. .RS 4
  5326. The command which is used to convert the content of a blob object to a worktree file upon checkout\&. See
  5327. \fBgitattributes\fR(5)
  5328. for details\&.
  5329. .RE
  5330. .PP
  5331. format\&.attach
  5332. .RS 4
  5333. Enable multipart/mixed attachments as the default for
  5334. \fIformat\-patch\fR\&. The value can also be a double quoted string which will enable attachments as the default and set the value as the boundary\&. See the \-\-attach option in
  5335. \fBgit-format-patch\fR(1)\&. To countermand an earlier value, set it to an empty string\&.
  5336. .RE
  5337. .PP
  5338. format\&.from
  5339. .RS 4
  5340. Provides the default value for the
  5341. \fB\-\-from\fR
  5342. option to format\-patch\&. Accepts a boolean value, or a name and email address\&. If false, format\-patch defaults to
  5343. \fB\-\-no\-from\fR, using commit authors directly in the "From:" field of patch mails\&. If true, format\-patch defaults to
  5344. \fB\-\-from\fR, using your committer identity in the "From:" field of patch mails and including a "From:" field in the body of the patch mail if different\&. If set to a non\-boolean value, format\-patch uses that value instead of your committer identity\&. Defaults to false\&.
  5345. .RE
  5346. .PP
  5347. format\&.forceInBodyFrom
  5348. .RS 4
  5349. Provides the default value for the
  5350. \fB\-\-\fR[\fBno\-\fR]\fBforce\-in\-body\-from\fR
  5351. option to format\-patch\&. Defaults to false\&.
  5352. .RE
  5353. .PP
  5354. format\&.numbered
  5355. .RS 4
  5356. A boolean which can enable or disable sequence numbers in patch subjects\&. It defaults to "auto" which enables it only if there is more than one patch\&. It can be enabled or disabled for all messages by setting it to "true" or "false"\&. See \-\-numbered option in
  5357. \fBgit-format-patch\fR(1)\&.
  5358. .RE
  5359. .PP
  5360. format\&.headers
  5361. .RS 4
  5362. Additional email headers to include in a patch to be submitted by mail\&. See
  5363. \fBgit-format-patch\fR(1)\&.
  5364. .RE
  5365. .PP
  5366. format\&.to, format\&.cc
  5367. .RS 4
  5368. Additional recipients to include in a patch to be submitted by mail\&. See the \-\-to and \-\-cc options in
  5369. \fBgit-format-patch\fR(1)\&.
  5370. .RE
  5371. .PP
  5372. format\&.subjectPrefix
  5373. .RS 4
  5374. The default for format\-patch is to output files with the
  5375. \fI[PATCH]\fR
  5376. subject prefix\&. Use this variable to change that prefix\&.
  5377. .RE
  5378. .PP
  5379. format\&.coverFromDescription
  5380. .RS 4
  5381. The default mode for format\-patch to determine which parts of the cover letter will be populated using the branch\(cqs description\&. See the
  5382. \fB\-\-cover\-from\-description\fR
  5383. option in
  5384. \fBgit-format-patch\fR(1)\&.
  5385. .RE
  5386. .PP
  5387. format\&.signature
  5388. .RS 4
  5389. The default for format\-patch is to output a signature containing the Git version number\&. Use this variable to change that default\&. Set this variable to the empty string ("") to suppress signature generation\&.
  5390. .RE
  5391. .PP
  5392. format\&.signatureFile
  5393. .RS 4
  5394. Works just like format\&.signature except the contents of the file specified by this variable will be used as the signature\&.
  5395. .RE
  5396. .PP
  5397. format\&.suffix
  5398. .RS 4
  5399. The default for format\-patch is to output files with the suffix \&.\fBpatch\fR\&. Use this variable to change that suffix (make sure to include the dot if you want it)\&.
  5400. .RE
  5401. .PP
  5402. format\&.encodeEmailHeaders
  5403. .RS 4
  5404. Encode email headers that have non\-ASCII characters with "Q\-encoding" (described in RFC 2047) for email transmission\&. Defaults to true\&.
  5405. .RE
  5406. .PP
  5407. format\&.pretty
  5408. .RS 4
  5409. The default pretty format for log/show/whatchanged command\&. See
  5410. \fBgit-log\fR(1),
  5411. \fBgit-show\fR(1),
  5412. \fBgit-whatchanged\fR(1)\&.
  5413. .RE
  5414. .PP
  5415. format\&.thread
  5416. .RS 4
  5417. The default threading style for
  5418. \fIgit format\-patch\fR\&. Can be a boolean value, or
  5419. \fBshallow\fR
  5420. or
  5421. \fBdeep\fR\&.
  5422. \fBshallow\fR
  5423. threading makes every mail a reply to the head of the series, where the head is chosen from the cover letter, the
  5424. \fB\-\-in\-reply\-to\fR, and the first patch mail, in this order\&.
  5425. \fBdeep\fR
  5426. threading makes every mail a reply to the previous one\&. A true boolean value is the same as
  5427. \fBshallow\fR, and a false value disables threading\&.
  5428. .RE
  5429. .PP
  5430. format\&.signOff
  5431. .RS 4
  5432. A boolean value which lets you enable the
  5433. \fB\-s/\-\-signoff\fR
  5434. option of format\-patch by default\&.
  5435. \fBNote:\fR
  5436. Adding the
  5437. \fBSigned\-off\-by\fR
  5438. trailer to a patch should be a conscious act and means that you certify you have the rights to submit this work under the same open source license\&. Please see the
  5439. \fISubmittingPatches\fR
  5440. document for further discussion\&.
  5441. .RE
  5442. .PP
  5443. format\&.coverLetter
  5444. .RS 4
  5445. A boolean that controls whether to generate a cover\-letter when format\-patch is invoked, but in addition can be set to "auto", to generate a cover\-letter only when there\(cqs more than one patch\&. Default is false\&.
  5446. .RE
  5447. .PP
  5448. format\&.outputDirectory
  5449. .RS 4
  5450. Set a custom directory to store the resulting files instead of the current working directory\&. All directory components will be created\&.
  5451. .RE
  5452. .PP
  5453. format\&.filenameMaxLength
  5454. .RS 4
  5455. The maximum length of the output filenames generated by the
  5456. \fBformat\-patch\fR
  5457. command; defaults to 64\&. Can be overridden by the
  5458. \fB\-\-filename\-max\-length=\fR\fI<n>\fR
  5459. command line option\&.
  5460. .RE
  5461. .PP
  5462. format\&.useAutoBase
  5463. .RS 4
  5464. A boolean value which lets you enable the
  5465. \fB\-\-base=auto\fR
  5466. option of format\-patch by default\&. Can also be set to "whenAble" to allow enabling
  5467. \fB\-\-base=auto\fR
  5468. if a suitable base is available, but to skip adding base info otherwise without the format dying\&.
  5469. .RE
  5470. .PP
  5471. format\&.notes
  5472. .RS 4
  5473. Provides the default value for the
  5474. \fB\-\-notes\fR
  5475. option to format\-patch\&. Accepts a boolean value, or a ref which specifies where to get notes\&. If false, format\-patch defaults to
  5476. \fB\-\-no\-notes\fR\&. If true, format\-patch defaults to
  5477. \fB\-\-notes\fR\&. If set to a non\-boolean value, format\-patch defaults to
  5478. \fB\-\-notes=\fR\fI<ref>\fR, where
  5479. \fBref\fR
  5480. is the non\-boolean value\&. Defaults to false\&.
  5481. .sp
  5482. If one wishes to use the ref
  5483. \fBrefs/notes/true\fR, please use that literal instead\&.
  5484. .sp
  5485. This configuration can be specified multiple times in order to allow multiple notes refs to be included\&. In that case, it will behave similarly to multiple
  5486. \fB\-\-\fR[\fBno\-\fR]\fBnotes\fR[\fB=\fR] options passed in\&. That is, a value of
  5487. \fBtrue\fR
  5488. will show the default notes, a value of
  5489. \fI<ref>\fR
  5490. will also show notes from that notes ref and a value of
  5491. \fBfalse\fR
  5492. will negate previous configurations and not show notes\&.
  5493. .sp
  5494. For example,
  5495. .sp
  5496. .if n \{\
  5497. .RS 4
  5498. .\}
  5499. .nf
  5500. [format]
  5501. notes = true
  5502. notes = foo
  5503. notes = false
  5504. notes = bar
  5505. .fi
  5506. .if n \{\
  5507. .RE
  5508. .\}
  5509. .sp
  5510. will only show notes from
  5511. \fBrefs/notes/bar\fR\&.
  5512. .RE
  5513. .PP
  5514. format\&.mboxrd
  5515. .RS 4
  5516. A boolean value which enables the robust "mboxrd" format when
  5517. \fB\-\-stdout\fR
  5518. is in use to escape "^>+From " lines\&.
  5519. .RE
  5520. .PP
  5521. format\&.noprefix
  5522. .RS 4
  5523. If set, do not show any source or destination prefix in patches\&. This is equivalent to the
  5524. \fBdiff\&.noprefix\fR
  5525. option used by
  5526. \fBgit\fR
  5527. \fBdiff\fR
  5528. (but which is not respected by
  5529. \fBformat\-patch\fR)\&. Note that by setting this, the receiver of any patches you generate will have to apply them using the
  5530. \fB\-p0\fR
  5531. option\&.
  5532. .RE
  5533. .PP
  5534. fsck\&.<msg\-id>
  5535. .RS 4
  5536. During fsck git may find issues with legacy data which wouldn\(cqt be generated by current versions of git, and which wouldn\(cqt be sent over the wire if
  5537. \fBtransfer\&.fsckObjects\fR
  5538. was set\&. This feature is intended to support working with legacy repositories containing such data\&.
  5539. .sp
  5540. Setting
  5541. \fBfsck\&.\fR\fI<msg\-id>\fR
  5542. will be picked up by
  5543. \fBgit-fsck\fR(1), but to accept pushes of such data set
  5544. \fBreceive\&.fsck\&.\fR\fI<msg\-id>\fR
  5545. instead, or to clone or fetch it set
  5546. \fBfetch\&.fsck\&.\fR\fI<msg\-id>\fR\&.
  5547. .sp
  5548. The rest of the documentation discusses
  5549. \fBfsck\&.\fR* for brevity, but the same applies for the corresponding
  5550. \fBreceive\&.fsck\&.\fR* and
  5551. \fBfetch\&.fsck\&.\fR*\&. variables\&.
  5552. .sp
  5553. Unlike variables like
  5554. \fBcolor\&.ui\fR
  5555. and
  5556. \fBcore\&.editor\fR, the
  5557. \fBreceive\&.fsck\&.\fR\fI<msg\-id>\fR
  5558. and
  5559. \fBfetch\&.fsck\&.\fR\fI<msg\-id>\fR
  5560. variables will not fall back on the
  5561. \fBfsck\&.\fR\fI<msg\-id>\fR
  5562. configuration if they aren\(cqt set\&. To uniformly configure the same fsck settings in different circumstances, all three of them must be set to the same values\&.
  5563. .sp
  5564. When
  5565. \fBfsck\&.\fR\fI<msg\-id>\fR
  5566. is set, errors can be switched to warnings and vice versa by configuring the
  5567. \fBfsck\&.\fR\fI<msg\-id>\fR
  5568. setting where the
  5569. \fI<msg\-id>\fR
  5570. is the fsck message ID and the value is one of
  5571. \fBerror\fR,
  5572. \fBwarn\fR
  5573. or
  5574. \fBignore\fR\&. For convenience, fsck prefixes the error/warning with the message ID, e\&.g\&. "missingEmail: invalid author/committer line \- missing email" means that setting
  5575. \fBfsck\&.missingEmail\fR
  5576. \fB=\fR
  5577. \fBignore\fR
  5578. will hide that issue\&.
  5579. .sp
  5580. In general, it is better to enumerate existing objects with problems with
  5581. \fBfsck\&.skipList\fR, instead of listing the kind of breakages these problematic objects share to be ignored, as doing the latter will allow new instances of the same breakages go unnoticed\&.
  5582. .sp
  5583. Setting an unknown
  5584. \fBfsck\&.\fR\fI<msg\-id>\fR
  5585. value will cause fsck to die, but doing the same for
  5586. \fBreceive\&.fsck\&.\fR\fI<msg\-id>\fR
  5587. and
  5588. \fBfetch\&.fsck\&.\fR\fI<msg\-id>\fR
  5589. will only cause git to warn\&.
  5590. .sp
  5591. See the
  5592. \fBFsck\fR
  5593. \fBMessages\fR
  5594. section of
  5595. \fBgit-fsck\fR(1)
  5596. for supported values of
  5597. \fI<msg\-id>\fR\&.
  5598. .RE
  5599. .PP
  5600. fsck\&.skipList
  5601. .RS 4
  5602. The path to a list of object names (i\&.e\&. one unabbreviated SHA\-1 per line) that are known to be broken in a non\-fatal way and should be ignored\&. On versions of Git 2\&.20 and later, comments (\fI#\fR), empty lines, and any leading and trailing whitespace are ignored\&. Everything but a SHA\-1 per line will error out on older versions\&.
  5603. .sp
  5604. This feature is useful when an established project should be accepted despite early commits containing errors that can be safely ignored, such as invalid committer email addresses\&. Note: corrupt objects cannot be skipped with this setting\&.
  5605. .sp
  5606. Like
  5607. \fBfsck\&.\fR\fI<msg\-id>\fR
  5608. this variable has corresponding
  5609. \fBreceive\&.fsck\&.skipList\fR
  5610. and
  5611. \fBfetch\&.fsck\&.skipList\fR
  5612. variants\&.
  5613. .sp
  5614. Unlike variables like
  5615. \fBcolor\&.ui\fR
  5616. and
  5617. \fBcore\&.editor\fR
  5618. the
  5619. \fBreceive\&.fsck\&.skipList\fR
  5620. and
  5621. \fBfetch\&.fsck\&.skipList\fR
  5622. variables will not fall back on the
  5623. \fBfsck\&.skipList\fR
  5624. configuration if they aren\(cqt set\&. To uniformly configure the same fsck settings in different circumstances, all three of them must be set to the same values\&.
  5625. .sp
  5626. Older versions of Git (before 2\&.20) documented that the object names list should be sorted\&. This was never a requirement; the object names could appear in any order, but when reading the list we tracked whether the list was sorted for the purposes of an internal binary search implementation, which could save itself some work with an already sorted list\&. Unless you had a humongous list there was no reason to go out of your way to pre\-sort the list\&. After Git version 2\&.20 a hash implementation is used instead, so there\(cqs now no reason to pre\-sort the list\&.
  5627. .RE
  5628. .PP
  5629. fsmonitor\&.allowRemote
  5630. .RS 4
  5631. By default, the fsmonitor daemon refuses to work with network\-mounted repositories\&. Setting
  5632. \fBfsmonitor\&.allowRemote\fR
  5633. to
  5634. \fBtrue\fR
  5635. overrides this behavior\&. Only respected when
  5636. \fBcore\&.fsmonitor\fR
  5637. is set to
  5638. \fBtrue\fR\&.
  5639. .RE
  5640. .PP
  5641. fsmonitor\&.socketDir
  5642. .RS 4
  5643. This Mac OS\-specific option, if set, specifies the directory in which to create the Unix domain socket used for communication between the fsmonitor daemon and various Git commands\&. The directory must reside on a native Mac OS filesystem\&. Only respected when
  5644. \fBcore\&.fsmonitor\fR
  5645. is set to
  5646. \fBtrue\fR\&.
  5647. .RE
  5648. .PP
  5649. gc\&.aggressiveDepth
  5650. .RS 4
  5651. The depth parameter used in the delta compression algorithm used by
  5652. \fIgit gc \-\-aggressive\fR\&. This defaults to 50, which is the default for the
  5653. \fB\-\-depth\fR
  5654. option when
  5655. \fB\-\-aggressive\fR
  5656. isn\(cqt in use\&.
  5657. .sp
  5658. See the documentation for the
  5659. \fB\-\-depth\fR
  5660. option in
  5661. \fBgit-repack\fR(1)
  5662. for more details\&.
  5663. .RE
  5664. .PP
  5665. gc\&.aggressiveWindow
  5666. .RS 4
  5667. The window size parameter used in the delta compression algorithm used by
  5668. \fIgit gc \-\-aggressive\fR\&. This defaults to 250, which is a much more aggressive window size than the default
  5669. \fB\-\-window\fR
  5670. of 10\&.
  5671. .sp
  5672. See the documentation for the
  5673. \fB\-\-window\fR
  5674. option in
  5675. \fBgit-repack\fR(1)
  5676. for more details\&.
  5677. .RE
  5678. .PP
  5679. gc\&.auto
  5680. .RS 4
  5681. When there are approximately more than this many loose objects in the repository,
  5682. \fBgit\fR
  5683. \fBgc\fR
  5684. \fB\-\-auto\fR
  5685. will pack them\&. Some Porcelain commands use this command to perform a light\-weight garbage collection from time to time\&. The default value is 6700\&.
  5686. .sp
  5687. Setting this to 0 disables not only automatic packing based on the number of loose objects, but also any other heuristic
  5688. \fBgit\fR
  5689. \fBgc\fR
  5690. \fB\-\-auto\fR
  5691. will otherwise use to determine if there\(cqs work to do, such as
  5692. \fBgc\&.autoPackLimit\fR\&.
  5693. .RE
  5694. .PP
  5695. gc\&.autoPackLimit
  5696. .RS 4
  5697. When there are more than this many packs that are not marked with *\&.\fBkeep\fR
  5698. file in the repository,
  5699. \fBgit\fR
  5700. \fBgc\fR
  5701. \fB\-\-auto\fR
  5702. consolidates them into one larger pack\&. The default value is 50\&. Setting this to 0 disables it\&. Setting
  5703. \fBgc\&.auto\fR
  5704. to 0 will also disable this\&.
  5705. .sp
  5706. See the
  5707. \fBgc\&.bigPackThreshold\fR
  5708. configuration variable below\&. When in use, it\(cqll affect how the auto pack limit works\&.
  5709. .RE
  5710. .PP
  5711. gc\&.autoDetach
  5712. .RS 4
  5713. Make
  5714. \fBgit\fR
  5715. \fBgc\fR
  5716. \fB\-\-auto\fR
  5717. return immediately and run in the background if the system supports it\&. Default is true\&. This config variable acts as a fallback in case
  5718. \fBmaintenance\&.autoDetach\fR
  5719. is not set\&.
  5720. .RE
  5721. .PP
  5722. gc\&.bigPackThreshold
  5723. .RS 4
  5724. If non\-zero, all non\-cruft packs larger than this limit are kept when
  5725. \fBgit\fR
  5726. \fBgc\fR
  5727. is run\&. This is very similar to
  5728. \fB\-\-keep\-largest\-pack\fR
  5729. except that all non\-cruft packs that meet the threshold are kept, not just the largest pack\&. Defaults to zero\&. Common unit suffixes of
  5730. \fIk\fR,
  5731. \fIm\fR, or
  5732. \fIg\fR
  5733. are supported\&.
  5734. .sp
  5735. Note that if the number of kept packs is more than gc\&.autoPackLimit, this configuration variable is ignored, all packs except the base pack will be repacked\&. After this the number of packs should go below gc\&.autoPackLimit and gc\&.bigPackThreshold should be respected again\&.
  5736. .sp
  5737. If the amount of memory estimated for
  5738. \fBgit\fR
  5739. \fBrepack\fR
  5740. to run smoothly is not available and
  5741. \fBgc\&.bigPackThreshold\fR
  5742. is not set, the largest pack will also be excluded (this is the equivalent of running
  5743. \fBgit\fR
  5744. \fBgc\fR
  5745. with
  5746. \fB\-\-keep\-largest\-pack\fR)\&.
  5747. .RE
  5748. .PP
  5749. gc\&.writeCommitGraph
  5750. .RS 4
  5751. If true, then gc will rewrite the commit\-graph file when
  5752. \fBgit-gc\fR(1)
  5753. is run\&. When using
  5754. \fBgit\fR
  5755. \fBgc\fR
  5756. \fB\-\-auto\fR
  5757. the commit\-graph will be updated if housekeeping is required\&. Default is true\&. See
  5758. \fBgit-commit-graph\fR(1)
  5759. for details\&.
  5760. .RE
  5761. .PP
  5762. gc\&.logExpiry
  5763. .RS 4
  5764. If the file gc\&.log exists, then
  5765. \fBgit\fR
  5766. \fBgc\fR
  5767. \fB\-\-auto\fR
  5768. will print its content and exit with status zero instead of running unless that file is more than
  5769. \fIgc\&.logExpiry\fR
  5770. old\&. Default is "1\&.day"\&. See
  5771. \fBgc\&.pruneExpire\fR
  5772. for more ways to specify its value\&.
  5773. .RE
  5774. .PP
  5775. gc\&.packRefs
  5776. .RS 4
  5777. Running
  5778. \fBgit\fR
  5779. \fBpack\-refs\fR
  5780. in a repository renders it unclonable by Git versions prior to 1\&.5\&.1\&.2 over dumb transports such as HTTP\&. This variable determines whether
  5781. \fIgit gc\fR
  5782. runs
  5783. \fBgit\fR
  5784. \fBpack\-refs\fR\&. This can be set to
  5785. \fBnotbare\fR
  5786. to enable it within all non\-bare repos or it can be set to a boolean value\&. The default is
  5787. \fBtrue\fR\&.
  5788. .RE
  5789. .PP
  5790. gc\&.cruftPacks
  5791. .RS 4
  5792. Store unreachable objects in a cruft pack (see
  5793. \fBgit-repack\fR(1)) instead of as loose objects\&. The default is
  5794. \fBtrue\fR\&.
  5795. .RE
  5796. .PP
  5797. gc\&.maxCruftSize
  5798. .RS 4
  5799. Limit the size of new cruft packs when repacking\&. When specified in addition to
  5800. \fB\-\-max\-cruft\-size\fR, the command line option takes priority\&. See the
  5801. \fB\-\-max\-cruft\-size\fR
  5802. option of
  5803. \fBgit-repack\fR(1)\&.
  5804. .RE
  5805. .PP
  5806. gc\&.pruneExpire
  5807. .RS 4
  5808. When
  5809. \fIgit gc\fR
  5810. is run, it will call
  5811. \fIprune \-\-expire 2\&.weeks\&.ago\fR
  5812. (and
  5813. \fIrepack \-\-cruft \-\-cruft\-expiration 2\&.weeks\&.ago\fR
  5814. if using cruft packs via
  5815. \fBgc\&.cruftPacks\fR
  5816. or
  5817. \fB\-\-cruft\fR)\&. Override the grace period with this config variable\&. The value "now" may be used to disable this grace period and always prune unreachable objects immediately, or "never" may be used to suppress pruning\&. This feature helps prevent corruption when
  5818. \fIgit gc\fR
  5819. runs concurrently with another process writing to the repository; see the "NOTES" section of
  5820. \fBgit-gc\fR(1)\&.
  5821. .RE
  5822. .PP
  5823. gc\&.worktreePruneExpire
  5824. .RS 4
  5825. When
  5826. \fIgit gc\fR
  5827. is run, it calls
  5828. \fIgit worktree prune \-\-expire 3\&.months\&.ago\fR\&. This config variable can be used to set a different grace period\&. The value "now" may be used to disable the grace period and prune
  5829. \fB$GIT_DIR/worktrees\fR
  5830. immediately, or "never" may be used to suppress pruning\&.
  5831. .RE
  5832. .PP
  5833. gc\&.reflogExpire, gc\&.<pattern>\&.reflogExpire
  5834. .RS 4
  5835. \fIgit reflog expire\fR
  5836. removes reflog entries older than this time; defaults to 90 days\&. The value "now" expires all entries immediately, and "never" suppresses expiration altogether\&. With "<pattern>" (e\&.g\&. "refs/stash") in the middle the setting applies only to the refs that match the <pattern>\&.
  5837. .RE
  5838. .PP
  5839. gc\&.reflogExpireUnreachable, gc\&.<pattern>\&.reflogExpireUnreachable
  5840. .RS 4
  5841. \fIgit reflog expire\fR
  5842. removes reflog entries older than this time and are not reachable from the current tip; defaults to 30 days\&. The value "now" expires all entries immediately, and "never" suppresses expiration altogether\&. With "<pattern>" (e\&.g\&. "refs/stash") in the middle, the setting applies only to the refs that match the <pattern>\&.
  5843. .sp
  5844. These types of entries are generally created as a result of using
  5845. \fBgit\fR
  5846. \fBcommit\fR
  5847. \fB\-\-amend\fR
  5848. or
  5849. \fBgit\fR
  5850. \fBrebase\fR
  5851. and are the commits prior to the amend or rebase occurring\&. Since these changes are not part of the current project most users will want to expire them sooner, which is why the default is more aggressive than
  5852. \fBgc\&.reflogExpire\fR\&.
  5853. .RE
  5854. .PP
  5855. gc\&.recentObjectsHook
  5856. .RS 4
  5857. When considering whether or not to remove an object (either when generating a cruft pack or storing unreachable objects as loose), use the shell to execute the specified command(s)\&. Interpret their output as object IDs which Git will consider as "recent", regardless of their age\&. By treating their mtimes as "now", any objects (and their descendants) mentioned in the output will be kept regardless of their true age\&.
  5858. .sp
  5859. Output must contain exactly one hex object ID per line, and nothing else\&. Objects which cannot be found in the repository are ignored\&. Multiple hooks are supported, but all must exit successfully, else the operation (either generating a cruft pack or unpacking unreachable objects) will be halted\&.
  5860. .RE
  5861. .PP
  5862. gc\&.repackFilter
  5863. .RS 4
  5864. When repacking, use the specified filter to move certain objects into a separate packfile\&. See the
  5865. \fB\-\-filter=\fR\fI<filter\-spec>\fR
  5866. option of
  5867. \fBgit-repack\fR(1)\&.
  5868. .RE
  5869. .PP
  5870. gc\&.repackFilterTo
  5871. .RS 4
  5872. When repacking and using a filter, see
  5873. \fBgc\&.repackFilter\fR, the specified location will be used to create the packfile containing the filtered out objects\&.
  5874. \fBWARNING:\fR
  5875. The specified location should be accessible, using for example the Git alternates mechanism, otherwise the repo could be considered corrupt by Git as it might not be able to access the objects in that packfile\&. See the
  5876. \fB\-\-filter\-to=\fR\fI<dir>\fR
  5877. option of
  5878. \fBgit-repack\fR(1)
  5879. and the
  5880. \fBobjects/info/alternates\fR
  5881. section of
  5882. \fBgitrepository-layout\fR(5)\&.
  5883. .RE
  5884. .PP
  5885. gc\&.rerereResolved
  5886. .RS 4
  5887. Records of conflicted merge you resolved earlier are kept for this many days when
  5888. \fIgit rerere gc\fR
  5889. is run\&. You can also use more human\-readable "1\&.month\&.ago", etc\&. The default is 60 days\&. See
  5890. \fBgit-rerere\fR(1)\&.
  5891. .RE
  5892. .PP
  5893. gc\&.rerereUnresolved
  5894. .RS 4
  5895. Records of conflicted merge you have not resolved are kept for this many days when
  5896. \fIgit rerere gc\fR
  5897. is run\&. You can also use more human\-readable "1\&.month\&.ago", etc\&. The default is 15 days\&. See
  5898. \fBgit-rerere\fR(1)\&.
  5899. .RE
  5900. .PP
  5901. gitcvs\&.commitMsgAnnotation
  5902. .RS 4
  5903. Append this string to each commit message\&. Set to empty string to disable this feature\&. Defaults to "via git\-CVS emulator"\&.
  5904. .RE
  5905. .PP
  5906. gitcvs\&.enabled
  5907. .RS 4
  5908. Whether the CVS server interface is enabled for this repository\&. See
  5909. \fBgit-cvsserver\fR(1)\&.
  5910. .RE
  5911. .PP
  5912. gitcvs\&.logFile
  5913. .RS 4
  5914. Path to a log file where the CVS server interface well\&...\: logs various stuff\&. See
  5915. \fBgit-cvsserver\fR(1)\&.
  5916. .RE
  5917. .PP
  5918. gitcvs\&.usecrlfattr
  5919. .RS 4
  5920. If true, the server will look up the end\-of\-line conversion attributes for files to determine the
  5921. \fB\-k\fR
  5922. modes to use\&. If the attributes force Git to treat a file as text, the
  5923. \fB\-k\fR
  5924. mode will be left blank so CVS clients will treat it as text\&. If they suppress text conversion, the file will be set with
  5925. \fI\-kb\fR
  5926. mode, which suppresses any newline munging the client might otherwise do\&. If the attributes do not allow the file type to be determined, then
  5927. \fBgitcvs\&.allBinary\fR
  5928. is used\&. See
  5929. \fBgitattributes\fR(5)\&.
  5930. .RE
  5931. .PP
  5932. gitcvs\&.allBinary
  5933. .RS 4
  5934. This is used if
  5935. \fBgitcvs\&.usecrlfattr\fR
  5936. does not resolve the correct
  5937. \fI\-kb\fR
  5938. mode to use\&. If true, all unresolved files are sent to the client in mode
  5939. \fI\-kb\fR\&. This causes the client to treat them as binary files, which suppresses any newline munging it otherwise might do\&. Alternatively, if it is set to "guess", then the contents of the file are examined to decide if it is binary, similar to
  5940. \fBcore\&.autocrlf\fR\&.
  5941. .RE
  5942. .PP
  5943. gitcvs\&.dbName
  5944. .RS 4
  5945. Database used by git\-cvsserver to cache revision information derived from the Git repository\&. The exact meaning depends on the used database driver, for SQLite (which is the default driver) this is a filename\&. Supports variable substitution (see
  5946. \fBgit-cvsserver\fR(1)
  5947. for details)\&. May not contain semicolons (;)\&. Default:
  5948. \fI%Ggitcvs\&.%m\&.sqlite\fR
  5949. .RE
  5950. .PP
  5951. gitcvs\&.dbDriver
  5952. .RS 4
  5953. Used Perl DBI driver\&. You can specify any available driver for this here, but it might not work\&. git\-cvsserver is tested with
  5954. \fIDBD::SQLite\fR, reported to work with
  5955. \fIDBD::Pg\fR, and reported
  5956. \fBnot\fR
  5957. to work with
  5958. \fIDBD::mysql\fR\&. Experimental feature\&. May not contain double colons (\fB:\fR)\&. Default:
  5959. \fISQLite\fR\&. See
  5960. \fBgit-cvsserver\fR(1)\&.
  5961. .RE
  5962. .PP
  5963. gitcvs\&.dbUser, gitcvs\&.dbPass
  5964. .RS 4
  5965. Database user and password\&. Only useful if setting
  5966. \fBgitcvs\&.dbDriver\fR, since SQLite has no concept of database users and/or passwords\&.
  5967. \fIgitcvs\&.dbUser\fR
  5968. supports variable substitution (see
  5969. \fBgit-cvsserver\fR(1)
  5970. for details)\&.
  5971. .RE
  5972. .PP
  5973. gitcvs\&.dbTableNamePrefix
  5974. .RS 4
  5975. Database table name prefix\&. Prepended to the names of any database tables used, allowing a single database to be used for several repositories\&. Supports variable substitution (see
  5976. \fBgit-cvsserver\fR(1)
  5977. for details)\&. Any non\-alphabetic characters will be replaced with underscores\&.
  5978. .RE
  5979. .sp
  5980. All gitcvs variables except for \fBgitcvs\&.usecrlfattr\fR and \fBgitcvs\&.allBinary\fR can also be specified as \fIgitcvs\&.<access_method>\&.<varname>\fR (where \fIaccess_method\fR is one of "ext" and "pserver") to make them apply only for the given access method\&.
  5981. .PP
  5982. gitweb\&.category, gitweb\&.description, gitweb\&.owner, gitweb\&.url
  5983. .RS 4
  5984. See
  5985. \fBgitweb\fR(1)
  5986. for description\&.
  5987. .RE
  5988. .PP
  5989. gitweb\&.avatar, gitweb\&.blame, gitweb\&.grep, gitweb\&.highlight, gitweb\&.patches, gitweb\&.pickaxe, gitweb\&.remote_heads, gitweb\&.showSizes, gitweb\&.snapshot
  5990. .RS 4
  5991. See
  5992. \fBgitweb.conf\fR(5)
  5993. for description\&.
  5994. .RE
  5995. .PP
  5996. gpg\&.program
  5997. .RS 4
  5998. Use this custom program instead of "\fBgpg\fR" found on
  5999. \fB$PATH\fR
  6000. when making or verifying a PGP signature\&. The program must support the same command\-line interface as GPG, namely, to verify a detached signature, "\fBgpg\fR
  6001. \fB\-\-verify\fR
  6002. \fB$signature\fR
  6003. \fB\-\fR
  6004. <$file" is run, and the program is expected to signal a good signature by exiting with code 0\&. To generate an ASCII\-armored detached signature, the standard input of "\fBgpg\fR
  6005. \fB\-bsau\fR
  6006. \fB$key\fR" is fed with the contents to be signed, and the program is expected to send the result to its standard output\&.
  6007. .RE
  6008. .PP
  6009. gpg\&.format
  6010. .RS 4
  6011. Specifies which key format to use when signing with
  6012. \fB\-\-gpg\-sign\fR\&. Default is "openpgp"\&. Other possible values are "x509", "ssh"\&.
  6013. .sp
  6014. See
  6015. \fBgitformat-signature\fR(5)
  6016. for the signature format, which differs based on the selected
  6017. \fBgpg\&.format\fR\&.
  6018. .RE
  6019. .PP
  6020. gpg\&.<format>\&.program
  6021. .RS 4
  6022. Use this to customize the program used for the signing format you chose\&. (see
  6023. \fBgpg\&.program\fR
  6024. and
  6025. \fBgpg\&.format\fR)
  6026. \fBgpg\&.program\fR
  6027. can still be used as a legacy synonym for
  6028. \fBgpg\&.openpgp\&.program\fR\&. The default value for
  6029. \fBgpg\&.x509\&.program\fR
  6030. is "gpgsm" and
  6031. \fBgpg\&.ssh\&.program\fR
  6032. is "ssh\-keygen"\&.
  6033. .RE
  6034. .PP
  6035. gpg\&.minTrustLevel
  6036. .RS 4
  6037. Specifies a minimum trust level for signature verification\&. If this option is unset, then signature verification for merge operations requires a key with at least
  6038. \fBmarginal\fR
  6039. trust\&. Other operations that perform signature verification require a key with at least
  6040. \fBundefined\fR
  6041. trust\&. Setting this option overrides the required trust\-level for all operations\&. Supported values, in increasing order of significance:
  6042. .sp
  6043. .RS 4
  6044. .ie n \{\
  6045. \h'-04'\(bu\h'+03'\c
  6046. .\}
  6047. .el \{\
  6048. .sp -1
  6049. .IP \(bu 2.3
  6050. .\}
  6051. \fBundefined\fR
  6052. .RE
  6053. .sp
  6054. .RS 4
  6055. .ie n \{\
  6056. \h'-04'\(bu\h'+03'\c
  6057. .\}
  6058. .el \{\
  6059. .sp -1
  6060. .IP \(bu 2.3
  6061. .\}
  6062. \fBnever\fR
  6063. .RE
  6064. .sp
  6065. .RS 4
  6066. .ie n \{\
  6067. \h'-04'\(bu\h'+03'\c
  6068. .\}
  6069. .el \{\
  6070. .sp -1
  6071. .IP \(bu 2.3
  6072. .\}
  6073. \fBmarginal\fR
  6074. .RE
  6075. .sp
  6076. .RS 4
  6077. .ie n \{\
  6078. \h'-04'\(bu\h'+03'\c
  6079. .\}
  6080. .el \{\
  6081. .sp -1
  6082. .IP \(bu 2.3
  6083. .\}
  6084. \fBfully\fR
  6085. .RE
  6086. .sp
  6087. .RS 4
  6088. .ie n \{\
  6089. \h'-04'\(bu\h'+03'\c
  6090. .\}
  6091. .el \{\
  6092. .sp -1
  6093. .IP \(bu 2.3
  6094. .\}
  6095. \fBultimate\fR
  6096. .RE
  6097. .RE
  6098. .PP
  6099. gpg\&.ssh\&.defaultKeyCommand
  6100. .RS 4
  6101. This command will be run when user\&.signingkey is not set and a ssh signature is requested\&. On successful exit a valid ssh public key prefixed with
  6102. \fBkey::\fR
  6103. is expected in the first line of its output\&. This allows for a script doing a dynamic lookup of the correct public key when it is impractical to statically configure
  6104. \fBuser\&.signingKey\fR\&. For example when keys or SSH Certificates are rotated frequently or selection of the right key depends on external factors unknown to git\&.
  6105. .RE
  6106. .PP
  6107. gpg\&.ssh\&.allowedSignersFile
  6108. .RS 4
  6109. A file containing ssh public keys which you are willing to trust\&. The file consists of one or more lines of principals followed by an ssh public key\&. e\&.g\&.:
  6110. \fBuser1@example\&.com,user2@example\&.com\fR
  6111. \fBssh\-rsa\fR
  6112. \fBAAAAX1\&.\&.\fR\&. See ssh\-keygen(1) "ALLOWED SIGNERS" for details\&. The principal is only used to identify the key and is available when verifying a signature\&.
  6113. .sp
  6114. SSH has no concept of trust levels like gpg does\&. To be able to differentiate between valid signatures and trusted signatures the trust level of a signature verification is set to
  6115. \fBfully\fR
  6116. when the public key is present in the allowedSignersFile\&. Otherwise the trust level is
  6117. \fBundefined\fR
  6118. and git verify\-commit/tag will fail\&.
  6119. .sp
  6120. This file can be set to a location outside of the repository and every developer maintains their own trust store\&. A central repository server could generate this file automatically from ssh keys with push access to verify the code against\&. In a corporate setting this file is probably generated at a global location from automation that already handles developer ssh keys\&.
  6121. .sp
  6122. A repository that only allows signed commits can store the file in the repository itself using a path relative to the top\-level of the working tree\&. This way only committers with an already valid key can add or change keys in the keyring\&.
  6123. .sp
  6124. Since OpensSSH 8\&.8 this file allows specifying a key lifetime using valid\-after & valid\-before options\&. Git will mark signatures as valid if the signing key was valid at the time of the signature\(cqs creation\&. This allows users to change a signing key without invalidating all previously made signatures\&.
  6125. .sp
  6126. Using a SSH CA key with the cert\-authority option (see ssh\-keygen(1) "CERTIFICATES") is also valid\&.
  6127. .RE
  6128. .PP
  6129. gpg\&.ssh\&.revocationFile
  6130. .RS 4
  6131. Either a SSH KRL or a list of revoked public keys (without the principal prefix)\&. See ssh\-keygen(1) for details\&. If a public key is found in this file then it will always be treated as having trust level "never" and signatures will show as invalid\&.
  6132. .RE
  6133. .PP
  6134. grep\&.lineNumber
  6135. .RS 4
  6136. If set to true, enable
  6137. \fB\-n\fR
  6138. option by default\&.
  6139. .RE
  6140. .PP
  6141. grep\&.column
  6142. .RS 4
  6143. If set to true, enable the
  6144. \fB\-\-column\fR
  6145. option by default\&.
  6146. .RE
  6147. .PP
  6148. grep\&.patternType
  6149. .RS 4
  6150. Set the default matching behavior\&. Using a value of
  6151. \fIbasic\fR,
  6152. \fIextended\fR,
  6153. \fIfixed\fR, or
  6154. \fIperl\fR
  6155. will enable the
  6156. \fB\-\-basic\-regexp\fR,
  6157. \fB\-\-extended\-regexp\fR,
  6158. \fB\-\-fixed\-strings\fR, or
  6159. \fB\-\-perl\-regexp\fR
  6160. option accordingly, while the value
  6161. \fIdefault\fR
  6162. will use the
  6163. \fBgrep\&.extendedRegexp\fR
  6164. option to choose between
  6165. \fIbasic\fR
  6166. and
  6167. \fIextended\fR\&.
  6168. .RE
  6169. .PP
  6170. grep\&.extendedRegexp
  6171. .RS 4
  6172. If set to true, enable
  6173. \fB\-\-extended\-regexp\fR
  6174. option by default\&. This option is ignored when the
  6175. \fBgrep\&.patternType\fR
  6176. option is set to a value other than
  6177. \fIdefault\fR\&.
  6178. .RE
  6179. .PP
  6180. grep\&.threads
  6181. .RS 4
  6182. Number of grep worker threads to use\&. If unset (or set to 0), Git will use as many threads as the number of logical cores available\&.
  6183. .RE
  6184. .PP
  6185. grep\&.fullName
  6186. .RS 4
  6187. If set to true, enable
  6188. \fB\-\-full\-name\fR
  6189. option by default\&.
  6190. .RE
  6191. .PP
  6192. grep\&.fallbackToNoIndex
  6193. .RS 4
  6194. If set to true, fall back to
  6195. \fBgit\fR
  6196. \fBgrep\fR
  6197. \fB\-\-no\-index\fR
  6198. if
  6199. \fBgit\fR
  6200. \fBgrep\fR
  6201. is executed outside of a git repository\&. Defaults to false\&.
  6202. .RE
  6203. .PP
  6204. gui\&.commitMsgWidth
  6205. .RS 4
  6206. Defines how wide the commit message window is in the
  6207. \fBgit-gui\fR(1)\&. "75" is the default\&.
  6208. .RE
  6209. .PP
  6210. gui\&.diffContext
  6211. .RS 4
  6212. Specifies how many context lines should be used in calls to diff made by the
  6213. \fBgit-gui\fR(1)\&. The default is "5"\&.
  6214. .RE
  6215. .PP
  6216. gui\&.displayUntracked
  6217. .RS 4
  6218. Determines if
  6219. \fBgit-gui\fR(1)
  6220. shows untracked files in the file list\&. The default is "true"\&.
  6221. .RE
  6222. .PP
  6223. gui\&.encoding
  6224. .RS 4
  6225. Specifies the default character encoding to use for displaying of file contents in
  6226. \fBgit-gui\fR(1)
  6227. and
  6228. \fBgitk\fR(1)\&. It can be overridden by setting the
  6229. \fIencoding\fR
  6230. attribute for relevant files (see
  6231. \fBgitattributes\fR(5))\&. If this option is not set, the tools default to the locale encoding\&.
  6232. .RE
  6233. .PP
  6234. gui\&.matchTrackingBranch
  6235. .RS 4
  6236. Determines if new branches created with
  6237. \fBgit-gui\fR(1)
  6238. should default to tracking remote branches with matching names or not\&. Default: "false"\&.
  6239. .RE
  6240. .PP
  6241. gui\&.newBranchTemplate
  6242. .RS 4
  6243. Is used as a suggested name when creating new branches using the
  6244. \fBgit-gui\fR(1)\&.
  6245. .RE
  6246. .PP
  6247. gui\&.pruneDuringFetch
  6248. .RS 4
  6249. "true" if
  6250. \fBgit-gui\fR(1)
  6251. should prune remote\-tracking branches when performing a fetch\&. The default value is "false"\&.
  6252. .RE
  6253. .PP
  6254. gui\&.trustmtime
  6255. .RS 4
  6256. Determines if
  6257. \fBgit-gui\fR(1)
  6258. should trust the file modification timestamp or not\&. By default the timestamps are not trusted\&.
  6259. .RE
  6260. .PP
  6261. gui\&.spellingDictionary
  6262. .RS 4
  6263. Specifies the dictionary used for spell checking commit messages in the
  6264. \fBgit-gui\fR(1)\&. When set to "none" spell checking is turned off\&.
  6265. .RE
  6266. .PP
  6267. gui\&.fastCopyBlame
  6268. .RS 4
  6269. If true,
  6270. \fIgit gui blame\fR
  6271. uses
  6272. \fB\-C\fR
  6273. instead of
  6274. \fB\-C\fR
  6275. \fB\-C\fR
  6276. for original location detection\&. It makes blame significantly faster on huge repositories at the expense of less thorough copy detection\&.
  6277. .RE
  6278. .PP
  6279. gui\&.copyBlameThreshold
  6280. .RS 4
  6281. Specifies the threshold to use in
  6282. \fIgit gui blame\fR
  6283. original location detection, measured in alphanumeric characters\&. See the
  6284. \fBgit-blame\fR(1)
  6285. manual for more information on copy detection\&.
  6286. .RE
  6287. .PP
  6288. gui\&.blamehistoryctx
  6289. .RS 4
  6290. Specifies the radius of history context in days to show in
  6291. \fBgitk\fR(1)
  6292. for the selected commit, when the
  6293. \fBShow\fR
  6294. \fBHistory\fR
  6295. \fBContext\fR
  6296. menu item is invoked from
  6297. \fIgit gui blame\fR\&. If this variable is set to zero, the whole history is shown\&.
  6298. .RE
  6299. .PP
  6300. guitool\&.<name>\&.cmd
  6301. .RS 4
  6302. Specifies the shell command line to execute when the corresponding item of the
  6303. \fBgit-gui\fR(1)
  6304. \fBTools\fR
  6305. menu is invoked\&. This option is mandatory for every tool\&. The command is executed from the root of the working directory, and in the environment it receives the name of the tool as
  6306. \fBGIT_GUITOOL\fR, the name of the currently selected file as
  6307. \fIFILENAME\fR, and the name of the current branch as
  6308. \fICUR_BRANCH\fR
  6309. (if the head is detached,
  6310. \fICUR_BRANCH\fR
  6311. is empty)\&.
  6312. .RE
  6313. .PP
  6314. guitool\&.<name>\&.needsFile
  6315. .RS 4
  6316. Run the tool only if a diff is selected in the GUI\&. It guarantees that
  6317. \fIFILENAME\fR
  6318. is not empty\&.
  6319. .RE
  6320. .PP
  6321. guitool\&.<name>\&.noConsole
  6322. .RS 4
  6323. Run the command silently, without creating a window to display its output\&.
  6324. .RE
  6325. .PP
  6326. guitool\&.<name>\&.noRescan
  6327. .RS 4
  6328. Don\(cqt rescan the working directory for changes after the tool finishes execution\&.
  6329. .RE
  6330. .PP
  6331. guitool\&.<name>\&.confirm
  6332. .RS 4
  6333. Show a confirmation dialog before actually running the tool\&.
  6334. .RE
  6335. .PP
  6336. guitool\&.<name>\&.argPrompt
  6337. .RS 4
  6338. Request a string argument from the user, and pass it to the tool through the
  6339. \fBARGS\fR
  6340. environment variable\&. Since requesting an argument implies confirmation, the
  6341. \fIconfirm\fR
  6342. option has no effect if this is enabled\&. If the option is set to
  6343. \fItrue\fR,
  6344. \fIyes\fR, or
  6345. \fI1\fR, the dialog uses a built\-in generic prompt; otherwise the exact value of the variable is used\&.
  6346. .RE
  6347. .PP
  6348. guitool\&.<name>\&.revPrompt
  6349. .RS 4
  6350. Request a single valid revision from the user, and set the
  6351. \fBREVISION\fR
  6352. environment variable\&. In other aspects this option is similar to
  6353. \fIargPrompt\fR, and can be used together with it\&.
  6354. .RE
  6355. .PP
  6356. guitool\&.<name>\&.revUnmerged
  6357. .RS 4
  6358. Show only unmerged branches in the
  6359. \fIrevPrompt\fR
  6360. subdialog\&. This is useful for tools similar to merge or rebase, but not for things like checkout or reset\&.
  6361. .RE
  6362. .PP
  6363. guitool\&.<name>\&.title
  6364. .RS 4
  6365. Specifies the title to use for the prompt dialog\&. The default is the tool name\&.
  6366. .RE
  6367. .PP
  6368. guitool\&.<name>\&.prompt
  6369. .RS 4
  6370. Specifies the general prompt string to display at the top of the dialog, before subsections for
  6371. \fIargPrompt\fR
  6372. and
  6373. \fIrevPrompt\fR\&. The default value includes the actual command\&.
  6374. .RE
  6375. .PP
  6376. help\&.browser
  6377. .RS 4
  6378. Specify the browser that will be used to display help in the
  6379. \fIweb\fR
  6380. format\&. See
  6381. \fBgit-help\fR(1)\&.
  6382. .RE
  6383. .PP
  6384. help\&.format
  6385. .RS 4
  6386. Override the default help format used by
  6387. \fBgit-help\fR(1)\&. Values
  6388. \fIman\fR,
  6389. \fIinfo\fR,
  6390. \fIweb\fR
  6391. and
  6392. \fIhtml\fR
  6393. are supported\&.
  6394. \fIman\fR
  6395. is the default\&.
  6396. \fIweb\fR
  6397. and
  6398. \fIhtml\fR
  6399. are the same\&.
  6400. .RE
  6401. .PP
  6402. help\&.autoCorrect
  6403. .RS 4
  6404. If git detects typos and can identify exactly one valid command similar to the error, git will try to suggest the correct command or even run the suggestion automatically\&. Possible config values are:
  6405. .sp
  6406. .RS 4
  6407. .ie n \{\
  6408. \h'-04'\(bu\h'+03'\c
  6409. .\}
  6410. .el \{\
  6411. .sp -1
  6412. .IP \(bu 2.3
  6413. .\}
  6414. 0, "false", "off", "no", "show": show the suggested command (default)\&.
  6415. .RE
  6416. .sp
  6417. .RS 4
  6418. .ie n \{\
  6419. \h'-04'\(bu\h'+03'\c
  6420. .\}
  6421. .el \{\
  6422. .sp -1
  6423. .IP \(bu 2.3
  6424. .\}
  6425. 1, "true", "on", "yes", "immediate": run the suggested command immediately\&.
  6426. .RE
  6427. .sp
  6428. .RS 4
  6429. .ie n \{\
  6430. \h'-04'\(bu\h'+03'\c
  6431. .\}
  6432. .el \{\
  6433. .sp -1
  6434. .IP \(bu 2.3
  6435. .\}
  6436. positive number > 1: run the suggested command after specified deciseconds (0\&.1 sec)\&.
  6437. .RE
  6438. .sp
  6439. .RS 4
  6440. .ie n \{\
  6441. \h'-04'\(bu\h'+03'\c
  6442. .\}
  6443. .el \{\
  6444. .sp -1
  6445. .IP \(bu 2.3
  6446. .\}
  6447. "never": don\(cqt run or show any suggested command\&.
  6448. .RE
  6449. .sp
  6450. .RS 4
  6451. .ie n \{\
  6452. \h'-04'\(bu\h'+03'\c
  6453. .\}
  6454. .el \{\
  6455. .sp -1
  6456. .IP \(bu 2.3
  6457. .\}
  6458. "prompt": show the suggestion and prompt for confirmation to run the command\&.
  6459. .RE
  6460. .RE
  6461. .PP
  6462. help\&.htmlPath
  6463. .RS 4
  6464. Specify the path where the HTML documentation resides\&. File system paths and URLs are supported\&. HTML pages will be prefixed with this path when help is displayed in the
  6465. \fIweb\fR
  6466. format\&. This defaults to the documentation path of your Git installation\&.
  6467. .RE
  6468. .PP
  6469. http\&.proxy
  6470. .RS 4
  6471. Override the HTTP proxy, normally configured using the
  6472. \fIhttp_proxy\fR,
  6473. \fIhttps_proxy\fR, and
  6474. \fIall_proxy\fR
  6475. environment variables (see
  6476. \fBcurl\fR(\fB1\fR))\&. In addition to the syntax understood by curl, it is possible to specify a proxy string with a user name but no password, in which case git will attempt to acquire one in the same way it does for other credentials\&. See
  6477. \fBgitcredentials\fR(7)
  6478. for more information\&. The syntax thus is
  6479. \fI[protocol://][user[:password]@]proxyhost[:port][/path]\fR\&. This can be overridden on a per\-remote basis; see remote\&.<name>\&.proxy
  6480. .sp
  6481. Any proxy, however configured, must be completely transparent and must not modify, transform, or buffer the request or response in any way\&. Proxies which are not completely transparent are known to cause various forms of breakage with Git\&.
  6482. .RE
  6483. .PP
  6484. http\&.proxyAuthMethod
  6485. .RS 4
  6486. Set the method with which to authenticate against the HTTP proxy\&. This only takes effect if the configured proxy string contains a user name part (i\&.e\&. is of the form
  6487. \fIuser@host\fR
  6488. or
  6489. \fIuser@host:port\fR)\&. This can be overridden on a per\-remote basis; see
  6490. \fBremote\&.\fR\fI<name>\fR\fB\&.proxyAuthMethod\fR\&. Both can be overridden by the
  6491. \fBGIT_HTTP_PROXY_AUTHMETHOD\fR
  6492. environment variable\&. Possible values are:
  6493. .sp
  6494. .RS 4
  6495. .ie n \{\
  6496. \h'-04'\(bu\h'+03'\c
  6497. .\}
  6498. .el \{\
  6499. .sp -1
  6500. .IP \(bu 2.3
  6501. .\}
  6502. \fBanyauth\fR
  6503. \- Automatically pick a suitable authentication method\&. It is assumed that the proxy answers an unauthenticated request with a 407 status code and one or more Proxy\-authenticate headers with supported authentication methods\&. This is the default\&.
  6504. .RE
  6505. .sp
  6506. .RS 4
  6507. .ie n \{\
  6508. \h'-04'\(bu\h'+03'\c
  6509. .\}
  6510. .el \{\
  6511. .sp -1
  6512. .IP \(bu 2.3
  6513. .\}
  6514. \fBbasic\fR
  6515. \- HTTP Basic authentication
  6516. .RE
  6517. .sp
  6518. .RS 4
  6519. .ie n \{\
  6520. \h'-04'\(bu\h'+03'\c
  6521. .\}
  6522. .el \{\
  6523. .sp -1
  6524. .IP \(bu 2.3
  6525. .\}
  6526. \fBdigest\fR
  6527. \- HTTP Digest authentication; this prevents the password from being transmitted to the proxy in clear text
  6528. .RE
  6529. .sp
  6530. .RS 4
  6531. .ie n \{\
  6532. \h'-04'\(bu\h'+03'\c
  6533. .\}
  6534. .el \{\
  6535. .sp -1
  6536. .IP \(bu 2.3
  6537. .\}
  6538. \fBnegotiate\fR
  6539. \- GSS\-Negotiate authentication (compare the \-\-negotiate option of
  6540. \fBcurl\fR(\fB1\fR))
  6541. .RE
  6542. .sp
  6543. .RS 4
  6544. .ie n \{\
  6545. \h'-04'\(bu\h'+03'\c
  6546. .\}
  6547. .el \{\
  6548. .sp -1
  6549. .IP \(bu 2.3
  6550. .\}
  6551. \fBntlm\fR
  6552. \- NTLM authentication (compare the \-\-ntlm option of
  6553. \fBcurl\fR(\fB1\fR))
  6554. .RE
  6555. .RE
  6556. .PP
  6557. http\&.proxySSLCert
  6558. .RS 4
  6559. The pathname of a file that stores a client certificate to use to authenticate with an HTTPS proxy\&. Can be overridden by the
  6560. \fBGIT_PROXY_SSL_CERT\fR
  6561. environment variable\&.
  6562. .RE
  6563. .PP
  6564. http\&.proxySSLKey
  6565. .RS 4
  6566. The pathname of a file that stores a private key to use to authenticate with an HTTPS proxy\&. Can be overridden by the
  6567. \fBGIT_PROXY_SSL_KEY\fR
  6568. environment variable\&.
  6569. .RE
  6570. .PP
  6571. http\&.proxySSLCertPasswordProtected
  6572. .RS 4
  6573. Enable Git\(cqs password prompt for the proxy SSL certificate\&. Otherwise OpenSSL will prompt the user, possibly many times, if the certificate or private key is encrypted\&. Can be overridden by the
  6574. \fBGIT_PROXY_SSL_CERT_PASSWORD_PROTECTED\fR
  6575. environment variable\&.
  6576. .RE
  6577. .PP
  6578. http\&.proxySSLCAInfo
  6579. .RS 4
  6580. Pathname to the file containing the certificate bundle that should be used to verify the proxy with when using an HTTPS proxy\&. Can be overridden by the
  6581. \fBGIT_PROXY_SSL_CAINFO\fR
  6582. environment variable\&.
  6583. .RE
  6584. .PP
  6585. http\&.emptyAuth
  6586. .RS 4
  6587. Attempt authentication without seeking a username or password\&. This can be used to attempt GSS\-Negotiate authentication without specifying a username in the URL, as libcurl normally requires a username for authentication\&.
  6588. .RE
  6589. .PP
  6590. http\&.proactiveAuth
  6591. .RS 4
  6592. Attempt authentication without first making an unauthenticated attempt and receiving a 401 response\&. This can be used to ensure that all requests are authenticated\&. If
  6593. \fBhttp\&.emptyAuth\fR
  6594. is set to true, this value has no effect\&.
  6595. .sp
  6596. If the credential helper used specifies an authentication scheme (i\&.e\&., via the
  6597. \fBauthtype\fR
  6598. field), that value will be used; if a username and password is provided without a scheme, then Basic authentication is used\&. The value of the option determines the scheme requested from the helper\&. Possible values are:
  6599. .sp
  6600. .RS 4
  6601. .ie n \{\
  6602. \h'-04'\(bu\h'+03'\c
  6603. .\}
  6604. .el \{\
  6605. .sp -1
  6606. .IP \(bu 2.3
  6607. .\}
  6608. \fBbasic\fR
  6609. \- Request Basic authentication from the helper\&.
  6610. .RE
  6611. .sp
  6612. .RS 4
  6613. .ie n \{\
  6614. \h'-04'\(bu\h'+03'\c
  6615. .\}
  6616. .el \{\
  6617. .sp -1
  6618. .IP \(bu 2.3
  6619. .\}
  6620. \fBauto\fR
  6621. \- Allow the helper to pick an appropriate scheme\&.
  6622. .RE
  6623. .sp
  6624. .RS 4
  6625. .ie n \{\
  6626. \h'-04'\(bu\h'+03'\c
  6627. .\}
  6628. .el \{\
  6629. .sp -1
  6630. .IP \(bu 2.3
  6631. .\}
  6632. \fBnone\fR
  6633. \- Disable proactive authentication\&.
  6634. .RE
  6635. .sp
  6636. Note that TLS should always be used with this configuration, since otherwise it is easy to accidentally expose plaintext credentials if Basic authentication is selected\&.
  6637. .RE
  6638. .PP
  6639. http\&.delegation
  6640. .RS 4
  6641. Control GSSAPI credential delegation\&. The delegation is disabled by default in libcurl since version 7\&.21\&.7\&. Set parameter to tell the server what it is allowed to delegate when it comes to user credentials\&. Used with GSS/kerberos\&. Possible values are:
  6642. .sp
  6643. .RS 4
  6644. .ie n \{\
  6645. \h'-04'\(bu\h'+03'\c
  6646. .\}
  6647. .el \{\
  6648. .sp -1
  6649. .IP \(bu 2.3
  6650. .\}
  6651. \fBnone\fR
  6652. \- Don\(cqt allow any delegation\&.
  6653. .RE
  6654. .sp
  6655. .RS 4
  6656. .ie n \{\
  6657. \h'-04'\(bu\h'+03'\c
  6658. .\}
  6659. .el \{\
  6660. .sp -1
  6661. .IP \(bu 2.3
  6662. .\}
  6663. \fBpolicy\fR
  6664. \- Delegates if and only if the OK\-AS\-DELEGATE flag is set in the Kerberos service ticket, which is a matter of realm policy\&.
  6665. .RE
  6666. .sp
  6667. .RS 4
  6668. .ie n \{\
  6669. \h'-04'\(bu\h'+03'\c
  6670. .\}
  6671. .el \{\
  6672. .sp -1
  6673. .IP \(bu 2.3
  6674. .\}
  6675. \fBalways\fR
  6676. \- Unconditionally allow the server to delegate\&.
  6677. .RE
  6678. .RE
  6679. .PP
  6680. http\&.extraHeader
  6681. .RS 4
  6682. Pass an additional HTTP header when communicating with a server\&. If more than one such entry exists, all of them are added as extra headers\&. To allow overriding the settings inherited from the system config, an empty value will reset the extra headers to the empty list\&.
  6683. .RE
  6684. .PP
  6685. http\&.cookieFile
  6686. .RS 4
  6687. The pathname of a file containing previously stored cookie lines, which should be used in the Git http session, if they match the server\&. The file format of the file to read cookies from should be plain HTTP headers or the Netscape/Mozilla cookie file format (see
  6688. \fBcurl\fR(\fB1\fR))\&. Set it to an empty string, to accept only new cookies from the server and send them back in successive requests within same connection\&. NOTE that the file specified with http\&.cookieFile is used only as input unless http\&.saveCookies is set\&.
  6689. .RE
  6690. .PP
  6691. http\&.saveCookies
  6692. .RS 4
  6693. If set, store cookies received during requests to the file specified by http\&.cookieFile\&. Has no effect if http\&.cookieFile is unset, or set to an empty string\&.
  6694. .RE
  6695. .PP
  6696. http\&.version
  6697. .RS 4
  6698. Use the specified HTTP protocol version when communicating with a server\&. If you want to force the default\&. The available and default version depend on libcurl\&. Currently the possible values of this option are:
  6699. .sp
  6700. .RS 4
  6701. .ie n \{\
  6702. \h'-04'\(bu\h'+03'\c
  6703. .\}
  6704. .el \{\
  6705. .sp -1
  6706. .IP \(bu 2.3
  6707. .\}
  6708. HTTP/2
  6709. .RE
  6710. .sp
  6711. .RS 4
  6712. .ie n \{\
  6713. \h'-04'\(bu\h'+03'\c
  6714. .\}
  6715. .el \{\
  6716. .sp -1
  6717. .IP \(bu 2.3
  6718. .\}
  6719. HTTP/1\&.1
  6720. .RE
  6721. .RE
  6722. .PP
  6723. http\&.curloptResolve
  6724. .RS 4
  6725. Hostname resolution information that will be used first by libcurl when sending HTTP requests\&. This information should be in one of the following formats:
  6726. .sp
  6727. .RS 4
  6728. .ie n \{\
  6729. \h'-04'\(bu\h'+03'\c
  6730. .\}
  6731. .el \{\
  6732. .sp -1
  6733. .IP \(bu 2.3
  6734. .\}
  6735. [+]HOST:PORT:ADDRESS[,ADDRESS]
  6736. .RE
  6737. .sp
  6738. .RS 4
  6739. .ie n \{\
  6740. \h'-04'\(bu\h'+03'\c
  6741. .\}
  6742. .el \{\
  6743. .sp -1
  6744. .IP \(bu 2.3
  6745. .\}
  6746. \-HOST:PORT
  6747. .RE
  6748. .sp
  6749. The first format redirects all requests to the given
  6750. \fBHOST:PORT\fR
  6751. to the provided
  6752. \fBADDRESS\fR(s)\&. The second format clears all previous config values for that
  6753. \fBHOST:PORT\fR
  6754. combination\&. To allow easy overriding of all the settings inherited from the system config, an empty value will reset all resolution information to the empty list\&.
  6755. .RE
  6756. .PP
  6757. http\&.sslVersion
  6758. .RS 4
  6759. The SSL version to use when negotiating an SSL connection, if you want to force the default\&. The available and default version depend on whether libcurl was built against NSS or OpenSSL and the particular configuration of the crypto library in use\&. Internally this sets the
  6760. \fICURLOPT_SSL_VERSION\fR
  6761. option; see the libcurl documentation for more details on the format of this option and for the ssl version supported\&. Currently the possible values of this option are:
  6762. .sp
  6763. .RS 4
  6764. .ie n \{\
  6765. \h'-04'\(bu\h'+03'\c
  6766. .\}
  6767. .el \{\
  6768. .sp -1
  6769. .IP \(bu 2.3
  6770. .\}
  6771. sslv2
  6772. .RE
  6773. .sp
  6774. .RS 4
  6775. .ie n \{\
  6776. \h'-04'\(bu\h'+03'\c
  6777. .\}
  6778. .el \{\
  6779. .sp -1
  6780. .IP \(bu 2.3
  6781. .\}
  6782. sslv3
  6783. .RE
  6784. .sp
  6785. .RS 4
  6786. .ie n \{\
  6787. \h'-04'\(bu\h'+03'\c
  6788. .\}
  6789. .el \{\
  6790. .sp -1
  6791. .IP \(bu 2.3
  6792. .\}
  6793. tlsv1
  6794. .RE
  6795. .sp
  6796. .RS 4
  6797. .ie n \{\
  6798. \h'-04'\(bu\h'+03'\c
  6799. .\}
  6800. .el \{\
  6801. .sp -1
  6802. .IP \(bu 2.3
  6803. .\}
  6804. tlsv1\&.0
  6805. .RE
  6806. .sp
  6807. .RS 4
  6808. .ie n \{\
  6809. \h'-04'\(bu\h'+03'\c
  6810. .\}
  6811. .el \{\
  6812. .sp -1
  6813. .IP \(bu 2.3
  6814. .\}
  6815. tlsv1\&.1
  6816. .RE
  6817. .sp
  6818. .RS 4
  6819. .ie n \{\
  6820. \h'-04'\(bu\h'+03'\c
  6821. .\}
  6822. .el \{\
  6823. .sp -1
  6824. .IP \(bu 2.3
  6825. .\}
  6826. tlsv1\&.2
  6827. .RE
  6828. .sp
  6829. .RS 4
  6830. .ie n \{\
  6831. \h'-04'\(bu\h'+03'\c
  6832. .\}
  6833. .el \{\
  6834. .sp -1
  6835. .IP \(bu 2.3
  6836. .\}
  6837. tlsv1\&.3
  6838. .RE
  6839. .sp
  6840. Can be overridden by the
  6841. \fBGIT_SSL_VERSION\fR
  6842. environment variable\&. To force git to use libcurl\(cqs default ssl version and ignore any explicit http\&.sslversion option, set
  6843. \fBGIT_SSL_VERSION\fR
  6844. to the empty string\&.
  6845. .RE
  6846. .PP
  6847. http\&.sslCipherList
  6848. .RS 4
  6849. A list of SSL ciphers to use when negotiating an SSL connection\&. The available ciphers depend on whether libcurl was built against NSS or OpenSSL and the particular configuration of the crypto library in use\&. Internally this sets the
  6850. \fICURLOPT_SSL_CIPHER_LIST\fR
  6851. option; see the libcurl documentation for more details on the format of this list\&.
  6852. .sp
  6853. Can be overridden by the
  6854. \fBGIT_SSL_CIPHER_LIST\fR
  6855. environment variable\&. To force git to use libcurl\(cqs default cipher list and ignore any explicit http\&.sslCipherList option, set
  6856. \fBGIT_SSL_CIPHER_LIST\fR
  6857. to the empty string\&.
  6858. .RE
  6859. .PP
  6860. http\&.sslVerify
  6861. .RS 4
  6862. Whether to verify the SSL certificate when fetching or pushing over HTTPS\&. Defaults to true\&. Can be overridden by the
  6863. \fBGIT_SSL_NO_VERIFY\fR
  6864. environment variable\&.
  6865. .RE
  6866. .PP
  6867. http\&.sslCert
  6868. .RS 4
  6869. File containing the SSL certificate when fetching or pushing over HTTPS\&. Can be overridden by the
  6870. \fBGIT_SSL_CERT\fR
  6871. environment variable\&.
  6872. .RE
  6873. .PP
  6874. http\&.sslKey
  6875. .RS 4
  6876. File containing the SSL private key when fetching or pushing over HTTPS\&. Can be overridden by the
  6877. \fBGIT_SSL_KEY\fR
  6878. environment variable\&.
  6879. .RE
  6880. .PP
  6881. http\&.sslCertPasswordProtected
  6882. .RS 4
  6883. Enable Git\(cqs password prompt for the SSL certificate\&. Otherwise OpenSSL will prompt the user, possibly many times, if the certificate or private key is encrypted\&. Can be overridden by the
  6884. \fBGIT_SSL_CERT_PASSWORD_PROTECTED\fR
  6885. environment variable\&.
  6886. .RE
  6887. .PP
  6888. http\&.sslCAInfo
  6889. .RS 4
  6890. File containing the certificates to verify the peer with when fetching or pushing over HTTPS\&. Can be overridden by the
  6891. \fBGIT_SSL_CAINFO\fR
  6892. environment variable\&.
  6893. .RE
  6894. .PP
  6895. http\&.sslCAPath
  6896. .RS 4
  6897. Path containing files with the CA certificates to verify the peer with when fetching or pushing over HTTPS\&. Can be overridden by the
  6898. \fBGIT_SSL_CAPATH\fR
  6899. environment variable\&.
  6900. .RE
  6901. .PP
  6902. http\&.sslBackend
  6903. .RS 4
  6904. Name of the SSL backend to use (e\&.g\&. "openssl" or "schannel")\&. This option is ignored if cURL lacks support for choosing the SSL backend at runtime\&.
  6905. .RE
  6906. .PP
  6907. http\&.sslCertType
  6908. .RS 4
  6909. Type of client certificate used when fetching or pushing over HTTPS\&. "PEM", "DER" are supported when using openssl or gnutls backends\&. "P12" is supported on "openssl", "schannel", "securetransport", and gnutls 8\&.11+\&. See also libcurl
  6910. \fBCURLOPT_SSLCERTTYPE\fR\&. Can be overridden by the
  6911. \fBGIT_SSL_CERT_TYPE\fR
  6912. environment variable\&.
  6913. .RE
  6914. .PP
  6915. http\&.sslKeyType
  6916. .RS 4
  6917. Type of client private key used when fetching or pushing over HTTPS\&. (e\&.g\&. "PEM", "DER", or "ENG")\&. Only applicable when using "openssl" backend\&. "DER" is not supported with openssl\&. Particularly useful when set to "ENG" for authenticating with PKCS#11 tokens, with a PKCS#11 URL in sslCert option\&. See also libcurl
  6918. \fBCURLOPT_SSLKEYTYPE\fR\&. Can be overridden by the
  6919. \fBGIT_SSL_KEY_TYPE\fR
  6920. environment variable\&.
  6921. .RE
  6922. .PP
  6923. http\&.schannelCheckRevoke
  6924. .RS 4
  6925. Used to enforce or disable certificate revocation checks in cURL when http\&.sslBackend is set to "schannel"\&. Defaults to
  6926. \fBtrue\fR
  6927. if unset\&. Only necessary to disable this if Git consistently errors and the message is about checking the revocation status of a certificate\&. This option is ignored if cURL lacks support for setting the relevant SSL option at runtime\&.
  6928. .RE
  6929. .PP
  6930. http\&.schannelUseSSLCAInfo
  6931. .RS 4
  6932. As of cURL v7\&.60\&.0, the Secure Channel backend can use the certificate bundle provided via
  6933. \fBhttp\&.sslCAInfo\fR, but that would override the Windows Certificate Store\&. Since this is not desirable by default, Git will tell cURL not to use that bundle by default when the
  6934. \fBschannel\fR
  6935. backend was configured via
  6936. \fBhttp\&.sslBackend\fR, unless
  6937. \fBhttp\&.schannelUseSSLCAInfo\fR
  6938. overrides this behavior\&.
  6939. .RE
  6940. .PP
  6941. http\&.pinnedPubkey
  6942. .RS 4
  6943. Public key of the https service\&. It may either be the filename of a PEM or DER encoded public key file or a string starting with
  6944. \fIsha256//\fR
  6945. followed by the base64 encoded sha256 hash of the public key\&. See also libcurl
  6946. \fICURLOPT_PINNEDPUBLICKEY\fR\&. git will exit with an error if this option is set but not supported by cURL\&.
  6947. .RE
  6948. .PP
  6949. http\&.sslTry
  6950. .RS 4
  6951. Attempt to use AUTH SSL/TLS and encrypted data transfers when connecting via regular FTP protocol\&. This might be needed if the FTP server requires it for security reasons or you wish to connect securely whenever remote FTP server supports it\&. Default is false since it might trigger certificate verification errors on misconfigured servers\&.
  6952. .RE
  6953. .PP
  6954. http\&.maxRequests
  6955. .RS 4
  6956. How many HTTP requests to launch in parallel\&. Can be overridden by the
  6957. \fBGIT_HTTP_MAX_REQUESTS\fR
  6958. environment variable\&. Default is 5\&.
  6959. .RE
  6960. .PP
  6961. http\&.minSessions
  6962. .RS 4
  6963. The number of curl sessions (counted across slots) to be kept across requests\&. They will not be ended with curl_easy_cleanup() until http_cleanup() is invoked\&. If USE_CURL_MULTI is not defined, this value will be capped at 1\&. Defaults to 1\&.
  6964. .RE
  6965. .PP
  6966. http\&.postBuffer
  6967. .RS 4
  6968. Maximum size in bytes of the buffer used by smart HTTP transports when POSTing data to the remote system\&. For requests larger than this buffer size, HTTP/1\&.1 and Transfer\-Encoding: chunked is used to avoid creating a massive pack file locally\&. Default is 1 MiB, which is sufficient for most requests\&.
  6969. .sp
  6970. Note that raising this limit is only effective for disabling chunked transfer encoding and therefore should be used only where the remote server or a proxy only supports HTTP/1\&.0 or is noncompliant with the HTTP standard\&. Raising this is not, in general, an effective solution for most push problems, but can increase memory consumption significantly since the entire buffer is allocated even for small pushes\&.
  6971. .RE
  6972. .PP
  6973. http\&.lowSpeedLimit, http\&.lowSpeedTime
  6974. .RS 4
  6975. If the HTTP transfer speed, in bytes per second, is less than
  6976. \fIhttp\&.lowSpeedLimit\fR
  6977. for longer than
  6978. \fIhttp\&.lowSpeedTime\fR
  6979. seconds, the transfer is aborted\&. Can be overridden by the
  6980. \fBGIT_HTTP_LOW_SPEED_LIMIT\fR
  6981. and
  6982. \fBGIT_HTTP_LOW_SPEED_TIME\fR
  6983. environment variables\&.
  6984. .RE
  6985. .PP
  6986. http\&.noEPSV
  6987. .RS 4
  6988. A boolean which disables using of EPSV ftp command by curl\&. This can be helpful with some "poor" ftp servers which don\(cqt support EPSV mode\&. Can be overridden by the
  6989. \fBGIT_CURL_FTP_NO_EPSV\fR
  6990. environment variable\&. Default is false (curl will use EPSV)\&.
  6991. .RE
  6992. .PP
  6993. http\&.userAgent
  6994. .RS 4
  6995. The HTTP USER_AGENT string presented to an HTTP server\&. The default value represents the version of the Git client such as git/1\&.7\&.1\&. This option allows you to override this value to a more common value such as Mozilla/4\&.0\&. This may be necessary, for instance, if connecting through a firewall that restricts HTTP connections to a set of common USER_AGENT strings (but not including those like git/1\&.7\&.1)\&. Can be overridden by the
  6996. \fBGIT_HTTP_USER_AGENT\fR
  6997. environment variable\&.
  6998. .RE
  6999. .PP
  7000. http\&.followRedirects
  7001. .RS 4
  7002. Whether git should follow HTTP redirects\&. If set to
  7003. \fBtrue\fR, git will transparently follow any redirect issued by a server it encounters\&. If set to
  7004. \fBfalse\fR, git will treat all redirects as errors\&. If set to
  7005. \fBinitial\fR, git will follow redirects only for the initial request to a remote, but not for subsequent follow\-up HTTP requests\&. Since git uses the redirected URL as the base for the follow\-up requests, this is generally sufficient\&. The default is
  7006. \fBinitial\fR\&.
  7007. .RE
  7008. .PP
  7009. http\&.<url>\&.*
  7010. .RS 4
  7011. Any of the http\&.* options above can be applied selectively to some URLs\&. For a config key to match a URL, each element of the config key is compared to that of the URL, in the following order:
  7012. .sp
  7013. .RS 4
  7014. .ie n \{\
  7015. \h'-04' 1.\h'+01'\c
  7016. .\}
  7017. .el \{\
  7018. .sp -1
  7019. .IP " 1." 4.2
  7020. .\}
  7021. Scheme (e\&.g\&.,
  7022. \fBhttps\fR
  7023. in
  7024. \fBhttps://example\&.com/\fR)\&. This field must match exactly between the config key and the URL\&.
  7025. .RE
  7026. .sp
  7027. .RS 4
  7028. .ie n \{\
  7029. \h'-04' 2.\h'+01'\c
  7030. .\}
  7031. .el \{\
  7032. .sp -1
  7033. .IP " 2." 4.2
  7034. .\}
  7035. Host/domain name (e\&.g\&.,
  7036. \fBexample\&.com\fR
  7037. in
  7038. \fBhttps://example\&.com/\fR)\&. This field must match between the config key and the URL\&. It is possible to specify a * as part of the host name to match all subdomains at this level\&.
  7039. \fBhttps://\fR*\&.\fBexample\&.com/\fR
  7040. for example would match
  7041. \fBhttps://foo\&.example\&.com/\fR, but not
  7042. \fBhttps://foo\&.bar\&.example\&.com/\fR\&.
  7043. .RE
  7044. .sp
  7045. .RS 4
  7046. .ie n \{\
  7047. \h'-04' 3.\h'+01'\c
  7048. .\}
  7049. .el \{\
  7050. .sp -1
  7051. .IP " 3." 4.2
  7052. .\}
  7053. Port number (e\&.g\&.,
  7054. \fB8080\fR
  7055. in
  7056. \fBhttp://example\&.com:8080/\fR)\&. This field must match exactly between the config key and the URL\&. Omitted port numbers are automatically converted to the correct default for the scheme before matching\&.
  7057. .RE
  7058. .sp
  7059. .RS 4
  7060. .ie n \{\
  7061. \h'-04' 4.\h'+01'\c
  7062. .\}
  7063. .el \{\
  7064. .sp -1
  7065. .IP " 4." 4.2
  7066. .\}
  7067. Path (e\&.g\&.,
  7068. \fBrepo\&.git\fR
  7069. in
  7070. \fBhttps://example\&.com/repo\&.git\fR)\&. The path field of the config key must match the path field of the URL either exactly or as a prefix of slash\-delimited path elements\&. This means a config key with path
  7071. \fBfoo/\fR
  7072. matches URL path
  7073. \fBfoo/bar\fR\&. A prefix can only match on a slash (\fB/\fR) boundary\&. Longer matches take precedence (so a config key with path
  7074. \fBfoo/bar\fR
  7075. is a better match to URL path
  7076. \fBfoo/bar\fR
  7077. than a config key with just path
  7078. \fBfoo/\fR)\&.
  7079. .RE
  7080. .sp
  7081. .RS 4
  7082. .ie n \{\
  7083. \h'-04' 5.\h'+01'\c
  7084. .\}
  7085. .el \{\
  7086. .sp -1
  7087. .IP " 5." 4.2
  7088. .\}
  7089. User name (e\&.g\&.,
  7090. \fBuser\fR
  7091. in
  7092. \fBhttps://user@example\&.com/repo\&.git\fR)\&. If the config key has a user name it must match the user name in the URL exactly\&. If the config key does not have a user name, that config key will match a URL with any user name (including none), but at a lower precedence than a config key with a user name\&.
  7093. .RE
  7094. .sp
  7095. The list above is ordered by decreasing precedence; a URL that matches a config key\(cqs path is preferred to one that matches its user name\&. For example, if the URL is
  7096. \fBhttps://user@example\&.com/foo/bar\fR
  7097. a config key match of
  7098. \fBhttps://example\&.com/foo\fR
  7099. will be preferred over a config key match of
  7100. \fBhttps://user@example\&.com\fR\&.
  7101. .sp
  7102. All URLs are normalized before attempting any matching (the password part, if embedded in the URL, is always ignored for matching purposes) so that equivalent URLs that are simply spelled differently will match properly\&. Environment variable settings always override any matches\&. The URLs that are matched against are those given directly to Git commands\&. This means any URLs visited as a result of a redirection do not participate in matching\&.
  7103. .RE
  7104. .PP
  7105. i18n\&.commitEncoding
  7106. .RS 4
  7107. Character encoding the commit messages are stored in; Git itself does not care per se, but this information is necessary e\&.g\&. when importing commits from emails or in the gitk graphical history browser (and possibly in other places in the future or in other porcelains)\&. See e\&.g\&.
  7108. \fBgit-mailinfo\fR(1)\&. Defaults to
  7109. \fIutf\-8\fR\&.
  7110. .RE
  7111. .PP
  7112. i18n\&.logOutputEncoding
  7113. .RS 4
  7114. Character encoding the commit messages are converted to when running
  7115. \fIgit log\fR
  7116. and friends\&.
  7117. .RE
  7118. .PP
  7119. imap\&.folder
  7120. .RS 4
  7121. The folder to drop the mails into, which is typically the Drafts folder\&. For example: "INBOX\&.Drafts", "INBOX/Drafts" or "[Gmail]/Drafts"\&. Required\&.
  7122. .RE
  7123. .PP
  7124. imap\&.tunnel
  7125. .RS 4
  7126. Command used to set up a tunnel to the IMAP server through which commands will be piped instead of using a direct network connection to the server\&. Required when imap\&.host is not set\&.
  7127. .RE
  7128. .PP
  7129. imap\&.host
  7130. .RS 4
  7131. A URL identifying the server\&. Use an
  7132. \fBimap://\fR
  7133. prefix for non\-secure connections and an
  7134. \fBimaps://\fR
  7135. prefix for secure connections\&. Ignored when imap\&.tunnel is set, but required otherwise\&.
  7136. .RE
  7137. .PP
  7138. imap\&.user
  7139. .RS 4
  7140. The username to use when logging in to the server\&.
  7141. .RE
  7142. .PP
  7143. imap\&.pass
  7144. .RS 4
  7145. The password to use when logging in to the server\&.
  7146. .RE
  7147. .PP
  7148. imap\&.port
  7149. .RS 4
  7150. An integer port number to connect to on the server\&. Defaults to 143 for imap:// hosts and 993 for imaps:// hosts\&. Ignored when imap\&.tunnel is set\&.
  7151. .RE
  7152. .PP
  7153. imap\&.sslverify
  7154. .RS 4
  7155. A boolean to enable/disable verification of the server certificate used by the SSL/TLS connection\&. Default is
  7156. \fBtrue\fR\&. Ignored when imap\&.tunnel is set\&.
  7157. .RE
  7158. .PP
  7159. imap\&.preformattedHTML
  7160. .RS 4
  7161. A boolean to enable/disable the use of html encoding when sending a patch\&. An html encoded patch will be bracketed with <pre> and have a content type of text/html\&. Ironically, enabling this option causes Thunderbird to send the patch as a plain/text, format=fixed email\&. Default is
  7162. \fBfalse\fR\&.
  7163. .RE
  7164. .PP
  7165. imap\&.authMethod
  7166. .RS 4
  7167. Specify the authentication method for authenticating with the IMAP server\&. If Git was built with the NO_CURL option, or if your curl version is older than 7\&.34\&.0, or if you\(cqre running git\-imap\-send with the
  7168. \fB\-\-no\-curl\fR
  7169. option, the only supported method is
  7170. \fICRAM\-MD5\fR\&. If this is not set then
  7171. \fIgit imap\-send\fR
  7172. uses the basic IMAP plaintext LOGIN command\&.
  7173. .RE
  7174. .PP
  7175. include\&.path, includeIf\&.<condition>\&.path
  7176. .RS 4
  7177. Special variables to include other configuration files\&. See the "CONFIGURATION FILE" section in the main
  7178. \fBgit-config\fR(1)
  7179. documentation, specifically the "Includes" and "Conditional Includes" subsections\&.
  7180. .RE
  7181. .PP
  7182. index\&.recordEndOfIndexEntries
  7183. .RS 4
  7184. Specifies whether the index file should include an "End Of Index Entry" section\&. This reduces index load time on multiprocessor machines but produces a message "ignoring EOIE extension" when reading the index using Git versions before 2\&.20\&. Defaults to
  7185. \fItrue\fR
  7186. if index\&.threads has been explicitly enabled,
  7187. \fIfalse\fR
  7188. otherwise\&.
  7189. .RE
  7190. .PP
  7191. index\&.recordOffsetTable
  7192. .RS 4
  7193. Specifies whether the index file should include an "Index Entry Offset Table" section\&. This reduces index load time on multiprocessor machines but produces a message "ignoring IEOT extension" when reading the index using Git versions before 2\&.20\&. Defaults to
  7194. \fItrue\fR
  7195. if index\&.threads has been explicitly enabled,
  7196. \fIfalse\fR
  7197. otherwise\&.
  7198. .RE
  7199. .PP
  7200. index\&.sparse
  7201. .RS 4
  7202. When enabled, write the index using sparse\-directory entries\&. This has no effect unless
  7203. \fBcore\&.sparseCheckout\fR
  7204. and
  7205. \fBcore\&.sparseCheckoutCone\fR
  7206. are both enabled\&. Defaults to
  7207. \fIfalse\fR\&.
  7208. .RE
  7209. .PP
  7210. index\&.threads
  7211. .RS 4
  7212. Specifies the number of threads to spawn when loading the index\&. This is meant to reduce index load time on multiprocessor machines\&. Specifying 0 or
  7213. \fItrue\fR
  7214. will cause Git to auto\-detect the number of CPUs and set the number of threads accordingly\&. Specifying 1 or
  7215. \fIfalse\fR
  7216. will disable multithreading\&. Defaults to
  7217. \fItrue\fR\&.
  7218. .RE
  7219. .PP
  7220. index\&.version
  7221. .RS 4
  7222. Specify the version with which new index files should be initialized\&. This does not affect existing repositories\&. If
  7223. \fBfeature\&.manyFiles\fR
  7224. is enabled, then the default is 4\&.
  7225. .RE
  7226. .PP
  7227. index\&.skipHash
  7228. .RS 4
  7229. When enabled, do not compute the trailing hash for the index file\&. This accelerates Git commands that manipulate the index, such as
  7230. \fBgit\fR
  7231. \fBadd\fR,
  7232. \fBgit\fR
  7233. \fBcommit\fR, or
  7234. \fBgit\fR
  7235. \fBstatus\fR\&. Instead of storing the checksum, write a trailing set of bytes with value zero, indicating that the computation was skipped\&.
  7236. .sp
  7237. If you enable
  7238. \fBindex\&.skipHash\fR, then Git clients older than 2\&.13\&.0 will refuse to parse the index and Git clients older than 2\&.40\&.0 will report an error during
  7239. \fBgit\fR
  7240. \fBfsck\fR\&.
  7241. .RE
  7242. .PP
  7243. \fBinit\&.templateDir\fR
  7244. .RS 4
  7245. Specify the directory from which templates will be copied\&. (See the "TEMPLATE DIRECTORY" section of
  7246. \fBgit-init\fR(1)\&.)
  7247. .RE
  7248. .PP
  7249. \fBinit\&.defaultBranch\fR
  7250. .RS 4
  7251. Allows overriding the default branch name e\&.g\&. when initializing a new repository\&.
  7252. .RE
  7253. .PP
  7254. \fBinit\&.defaultObjectFormat\fR
  7255. .RS 4
  7256. Allows overriding the default object format for new repositories\&. See
  7257. \fB\-\-object\-format=\fR
  7258. in
  7259. \fBgit-init\fR(1)\&. Both the command line option and the
  7260. \fBGIT_DEFAULT_HASH\fR
  7261. environment variable take precedence over this config\&.
  7262. .RE
  7263. .PP
  7264. \fBinit\&.defaultRefFormat\fR
  7265. .RS 4
  7266. Allows overriding the default ref storage format for new repositories\&. See
  7267. \fB\-\-ref\-format=\fR
  7268. in
  7269. \fBgit-init\fR(1)\&. Both the command line option and the
  7270. \fBGIT_DEFAULT_REF_FORMAT\fR
  7271. environment variable take precedence over this config\&.
  7272. .RE
  7273. .PP
  7274. instaweb\&.browser
  7275. .RS 4
  7276. Specify the program that will be used to browse your working repository in gitweb\&. See
  7277. \fBgit-instaweb\fR(1)\&.
  7278. .RE
  7279. .PP
  7280. instaweb\&.httpd
  7281. .RS 4
  7282. The HTTP daemon command\-line to start gitweb on your working repository\&. See
  7283. \fBgit-instaweb\fR(1)\&.
  7284. .RE
  7285. .PP
  7286. instaweb\&.local
  7287. .RS 4
  7288. If true the web server started by
  7289. \fBgit-instaweb\fR(1)
  7290. will be bound to the local IP (127\&.0\&.0\&.1)\&.
  7291. .RE
  7292. .PP
  7293. instaweb\&.modulePath
  7294. .RS 4
  7295. The default module path for
  7296. \fBgit-instaweb\fR(1)
  7297. to use instead of /usr/lib/apache2/modules\&. Only used if httpd is Apache\&.
  7298. .RE
  7299. .PP
  7300. instaweb\&.port
  7301. .RS 4
  7302. The port number to bind the gitweb httpd to\&. See
  7303. \fBgit-instaweb\fR(1)\&.
  7304. .RE
  7305. .PP
  7306. interactive\&.singleKey
  7307. .RS 4
  7308. When set to true, allow the user to provide one\-letter input with a single key (i\&.e\&., without hitting the Enter key) in interactive commands\&. This is currently used by the
  7309. \fB\-\-patch\fR
  7310. mode of
  7311. \fBgit-add\fR(1),
  7312. \fBgit-checkout\fR(1),
  7313. \fBgit-restore\fR(1),
  7314. \fBgit-commit\fR(1),
  7315. \fBgit-reset\fR(1), and
  7316. \fBgit-stash\fR(1)\&.
  7317. .RE
  7318. .PP
  7319. interactive\&.diffFilter
  7320. .RS 4
  7321. When an interactive command (such as
  7322. \fBgit\fR
  7323. \fBadd\fR
  7324. \fB\-\-patch\fR) shows a colorized diff, git will pipe the diff through the shell command defined by this configuration variable\&. The command may mark up the diff further for human consumption, provided that it retains a one\-to\-one correspondence with the lines in the original diff\&. Defaults to disabled (no filtering)\&.
  7325. .RE
  7326. .PP
  7327. log\&.abbrevCommit
  7328. .RS 4
  7329. If true, makes
  7330. \fBgit-log\fR(1),
  7331. \fBgit-show\fR(1), and
  7332. \fBgit-whatchanged\fR(1)
  7333. assume
  7334. \fB\-\-abbrev\-commit\fR\&. You may override this option with
  7335. \fB\-\-no\-abbrev\-commit\fR\&.
  7336. .RE
  7337. .PP
  7338. log\&.date
  7339. .RS 4
  7340. Set the default date\-time mode for the
  7341. \fIlog\fR
  7342. command\&. Setting a value for log\&.date is similar to using
  7343. \fIgit log\fR\*(Aqs
  7344. \fB\-\-date\fR
  7345. option\&. See
  7346. \fBgit-log\fR(1)
  7347. for details\&.
  7348. .sp
  7349. If the format is set to "auto:foo" and the pager is in use, format "foo" will be used for the date format\&. Otherwise, "default" will be used\&.
  7350. .RE
  7351. .PP
  7352. log\&.decorate
  7353. .RS 4
  7354. Print out the ref names of any commits that are shown by the log command\&. If
  7355. \fIshort\fR
  7356. is specified, the ref name prefixes
  7357. \fIrefs/heads/\fR,
  7358. \fIrefs/tags/\fR
  7359. and
  7360. \fIrefs/remotes/\fR
  7361. will not be printed\&. If
  7362. \fIfull\fR
  7363. is specified, the full ref name (including prefix) will be printed\&. If
  7364. \fIauto\fR
  7365. is specified, then if the output is going to a terminal, the ref names are shown as if
  7366. \fIshort\fR
  7367. were given, otherwise no ref names are shown\&. This is the same as the
  7368. \fB\-\-decorate\fR
  7369. option of the
  7370. \fBgit\fR
  7371. \fBlog\fR\&.
  7372. .RE
  7373. .PP
  7374. log\&.initialDecorationSet
  7375. .RS 4
  7376. By default,
  7377. \fBgit\fR
  7378. \fBlog\fR
  7379. only shows decorations for certain known ref namespaces\&. If
  7380. \fIall\fR
  7381. is specified, then show all refs as decorations\&.
  7382. .RE
  7383. .PP
  7384. log\&.excludeDecoration
  7385. .RS 4
  7386. Exclude the specified patterns from the log decorations\&. This is similar to the
  7387. \fB\-\-decorate\-refs\-exclude\fR
  7388. command\-line option, but the config option can be overridden by the
  7389. \fB\-\-decorate\-refs\fR
  7390. option\&.
  7391. .RE
  7392. .PP
  7393. log\&.diffMerges
  7394. .RS 4
  7395. Set diff format to be used when
  7396. \fB\-\-diff\-merges=on\fR
  7397. is specified, see
  7398. \fB\-\-diff\-merges\fR
  7399. in
  7400. \fBgit-log\fR(1)
  7401. for details\&. Defaults to
  7402. \fBseparate\fR\&.
  7403. .RE
  7404. .PP
  7405. log\&.follow
  7406. .RS 4
  7407. If
  7408. \fBtrue\fR,
  7409. \fBgit\fR
  7410. \fBlog\fR
  7411. will act as if the
  7412. \fB\-\-follow\fR
  7413. option was used when a single <path> is given\&. This has the same limitations as
  7414. \fB\-\-follow\fR, i\&.e\&. it cannot be used to follow multiple files and does not work well on non\-linear history\&.
  7415. .RE
  7416. .PP
  7417. log\&.graphColors
  7418. .RS 4
  7419. A list of colors, separated by commas, that can be used to draw history lines in
  7420. \fBgit\fR
  7421. \fBlog\fR
  7422. \fB\-\-graph\fR\&.
  7423. .RE
  7424. .PP
  7425. log\&.showRoot
  7426. .RS 4
  7427. If true, the initial commit will be shown as a big creation event\&. This is equivalent to a diff against an empty tree\&. Tools like
  7428. \fBgit-log\fR(1)
  7429. or
  7430. \fBgit-whatchanged\fR(1), which normally hide the root commit will now show it\&. True by default\&.
  7431. .RE
  7432. .PP
  7433. log\&.showSignature
  7434. .RS 4
  7435. If true, makes
  7436. \fBgit-log\fR(1),
  7437. \fBgit-show\fR(1), and
  7438. \fBgit-whatchanged\fR(1)
  7439. assume
  7440. \fB\-\-show\-signature\fR\&.
  7441. .RE
  7442. .PP
  7443. log\&.mailmap
  7444. .RS 4
  7445. If true, makes
  7446. \fBgit-log\fR(1),
  7447. \fBgit-show\fR(1), and
  7448. \fBgit-whatchanged\fR(1)
  7449. assume
  7450. \fB\-\-use\-mailmap\fR, otherwise assume
  7451. \fB\-\-no\-use\-mailmap\fR\&. True by default\&.
  7452. .RE
  7453. .PP
  7454. lsrefs\&.unborn
  7455. .RS 4
  7456. May be "advertise" (the default), "allow", or "ignore"\&. If "advertise", the server will respond to the client sending "unborn" (as described in
  7457. \fBgitprotocol-v2\fR(5)) and will advertise support for this feature during the protocol v2 capability advertisement\&. "allow" is the same as "advertise" except that the server will not advertise support for this feature; this is useful for load\-balanced servers that cannot be updated atomically (for example), since the administrator could configure "allow", then after a delay, configure "advertise"\&.
  7458. .RE
  7459. .PP
  7460. mailinfo\&.scissors
  7461. .RS 4
  7462. If true, makes
  7463. \fBgit-mailinfo\fR(1)
  7464. (and therefore
  7465. \fBgit-am\fR(1)) act by default as if the \-\-scissors option was provided on the command\-line\&. When active, this feature removes everything from the message body before a scissors line (i\&.e\&. consisting mainly of ">8", "8<" and "\-")\&.
  7466. .RE
  7467. .PP
  7468. mailmap\&.file
  7469. .RS 4
  7470. The location of an augmenting mailmap file\&. The default mailmap, located in the root of the repository, is loaded first, then the mailmap file pointed to by this variable\&. The location of the mailmap file may be in a repository subdirectory, or somewhere outside of the repository itself\&. See
  7471. \fBgit-shortlog\fR(1)
  7472. and
  7473. \fBgit-blame\fR(1)\&.
  7474. .RE
  7475. .PP
  7476. mailmap\&.blob
  7477. .RS 4
  7478. Like
  7479. \fBmailmap\&.file\fR, but consider the value as a reference to a blob in the repository\&. If both
  7480. \fBmailmap\&.file\fR
  7481. and
  7482. \fBmailmap\&.blob\fR
  7483. are given, both are parsed, with entries from
  7484. \fBmailmap\&.file\fR
  7485. taking precedence\&. In a bare repository, this defaults to
  7486. \fBHEAD:\&.mailmap\fR\&. In a non\-bare repository, it defaults to empty\&.
  7487. .RE
  7488. .PP
  7489. maintenance\&.auto
  7490. .RS 4
  7491. This boolean config option controls whether some commands run
  7492. \fBgit\fR
  7493. \fBmaintenance\fR
  7494. \fBrun\fR
  7495. \fB\-\-auto\fR
  7496. after doing their normal work\&. Defaults to true\&.
  7497. .RE
  7498. .PP
  7499. maintenance\&.autoDetach
  7500. .RS 4
  7501. Many Git commands trigger automatic maintenance after they have written data into the repository\&. This boolean config option controls whether this automatic maintenance shall happen in the foreground or whether the maintenance process shall detach and continue to run in the background\&.
  7502. .sp
  7503. If unset, the value of
  7504. \fBgc\&.autoDetach\fR
  7505. is used as a fallback\&. Defaults to true if both are unset, meaning that the maintenance process will detach\&.
  7506. .RE
  7507. .PP
  7508. maintenance\&.strategy
  7509. .RS 4
  7510. This string config option provides a way to specify one of a few recommended schedules for background maintenance\&. This only affects which tasks are run during
  7511. \fBgit\fR
  7512. \fBmaintenance\fR
  7513. \fBrun\fR
  7514. \fB\-\-schedule=X\fR
  7515. commands, provided no
  7516. \fB\-\-task=\fR\fI<task>\fR
  7517. arguments are provided\&. Further, if a
  7518. \fBmaintenance\&.\fR\fI<task>\fR\fB\&.schedule\fR
  7519. config value is set, then that value is used instead of the one provided by
  7520. \fBmaintenance\&.strategy\fR\&. The possible strategy strings are:
  7521. .sp
  7522. .RS 4
  7523. .ie n \{\
  7524. \h'-04'\(bu\h'+03'\c
  7525. .\}
  7526. .el \{\
  7527. .sp -1
  7528. .IP \(bu 2.3
  7529. .\}
  7530. \fBnone\fR: This default setting implies no tasks are run at any schedule\&.
  7531. .RE
  7532. .sp
  7533. .RS 4
  7534. .ie n \{\
  7535. \h'-04'\(bu\h'+03'\c
  7536. .\}
  7537. .el \{\
  7538. .sp -1
  7539. .IP \(bu 2.3
  7540. .\}
  7541. \fBincremental\fR: This setting optimizes for performing small maintenance activities that do not delete any data\&. This does not schedule the
  7542. \fBgc\fR
  7543. task, but runs the
  7544. \fBprefetch\fR
  7545. and
  7546. \fBcommit\-graph\fR
  7547. tasks hourly, the
  7548. \fBloose\-objects\fR
  7549. and
  7550. \fBincremental\-repack\fR
  7551. tasks daily, and the
  7552. \fBpack\-refs\fR
  7553. task weekly\&.
  7554. .RE
  7555. .RE
  7556. .PP
  7557. maintenance\&.<task>\&.enabled
  7558. .RS 4
  7559. This boolean config option controls whether the maintenance task with name
  7560. \fI<task>\fR
  7561. is run when no
  7562. \fB\-\-task\fR
  7563. option is specified to
  7564. \fBgit\fR
  7565. \fBmaintenance\fR
  7566. \fBrun\fR\&. These config values are ignored if a
  7567. \fB\-\-task\fR
  7568. option exists\&. By default, only
  7569. \fBmaintenance\&.gc\&.enabled\fR
  7570. is true\&.
  7571. .RE
  7572. .PP
  7573. maintenance\&.<task>\&.schedule
  7574. .RS 4
  7575. This config option controls whether or not the given
  7576. \fI<task>\fR
  7577. runs during a
  7578. \fBgit\fR
  7579. \fBmaintenance\fR
  7580. \fBrun\fR
  7581. \fB\-\-schedule=\fR\fI<frequency>\fR
  7582. command\&. The value must be one of "hourly", "daily", or "weekly"\&.
  7583. .RE
  7584. .PP
  7585. maintenance\&.commit\-graph\&.auto
  7586. .RS 4
  7587. This integer config option controls how often the
  7588. \fBcommit\-graph\fR
  7589. task should be run as part of
  7590. \fBgit\fR
  7591. \fBmaintenance\fR
  7592. \fBrun\fR
  7593. \fB\-\-auto\fR\&. If zero, then the
  7594. \fBcommit\-graph\fR
  7595. task will not run with the
  7596. \fB\-\-auto\fR
  7597. option\&. A negative value will force the task to run every time\&. Otherwise, a positive value implies the command should run when the number of reachable commits that are not in the commit\-graph file is at least the value of
  7598. \fBmaintenance\&.commit\-graph\&.auto\fR\&. The default value is 100\&.
  7599. .RE
  7600. .PP
  7601. maintenance\&.loose\-objects\&.auto
  7602. .RS 4
  7603. This integer config option controls how often the
  7604. \fBloose\-objects\fR
  7605. task should be run as part of
  7606. \fBgit\fR
  7607. \fBmaintenance\fR
  7608. \fBrun\fR
  7609. \fB\-\-auto\fR\&. If zero, then the
  7610. \fBloose\-objects\fR
  7611. task will not run with the
  7612. \fB\-\-auto\fR
  7613. option\&. A negative value will force the task to run every time\&. Otherwise, a positive value implies the command should run when the number of loose objects is at least the value of
  7614. \fBmaintenance\&.loose\-objects\&.auto\fR\&. The default value is 100\&.
  7615. .RE
  7616. .PP
  7617. maintenance\&.incremental\-repack\&.auto
  7618. .RS 4
  7619. This integer config option controls how often the
  7620. \fBincremental\-repack\fR
  7621. task should be run as part of
  7622. \fBgit\fR
  7623. \fBmaintenance\fR
  7624. \fBrun\fR
  7625. \fB\-\-auto\fR\&. If zero, then the
  7626. \fBincremental\-repack\fR
  7627. task will not run with the
  7628. \fB\-\-auto\fR
  7629. option\&. A negative value will force the task to run every time\&. Otherwise, a positive value implies the command should run when the number of pack\-files not in the multi\-pack\-index is at least the value of
  7630. \fBmaintenance\&.incremental\-repack\&.auto\fR\&. The default value is 10\&.
  7631. .RE
  7632. .PP
  7633. man\&.viewer
  7634. .RS 4
  7635. Specify the programs that may be used to display help in the
  7636. \fIman\fR
  7637. format\&. See
  7638. \fBgit-help\fR(1)\&.
  7639. .RE
  7640. .PP
  7641. man\&.<tool>\&.cmd
  7642. .RS 4
  7643. Specify the command to invoke the specified man viewer\&. The specified command is evaluated in shell with the man page passed as an argument\&. (See
  7644. \fBgit-help\fR(1)\&.)
  7645. .RE
  7646. .PP
  7647. man\&.<tool>\&.path
  7648. .RS 4
  7649. Override the path for the given tool that may be used to display help in the
  7650. \fIman\fR
  7651. format\&. See
  7652. \fBgit-help\fR(1)\&.
  7653. .RE
  7654. .PP
  7655. merge\&.conflictStyle
  7656. .RS 4
  7657. Specify the style in which conflicted hunks are written out to working tree files upon merge\&. The default is "merge", which shows a <<<<<<< conflict marker, changes made by one side, a
  7658. \fB=======\fR
  7659. marker, changes made by the other side, and then a >>>>>>> marker\&. An alternate style, "diff3", adds a ||||||| marker and the original text before the
  7660. \fB=======\fR
  7661. marker\&. The "merge" style tends to produce smaller conflict regions than diff3, both because of the exclusion of the original text, and because when a subset of lines match on the two sides, they are just pulled out of the conflict region\&. Another alternate style, "zdiff3", is similar to diff3 but removes matching lines on the two sides from the conflict region when those matching lines appear near either the beginning or end of a conflict region\&.
  7662. .RE
  7663. .PP
  7664. merge\&.defaultToUpstream
  7665. .RS 4
  7666. If merge is called without any commit argument, merge the upstream branches configured for the current branch by using their last observed values stored in their remote\-tracking branches\&. The values of the
  7667. \fBbranch\&.\fR<current
  7668. \fBbranch\fR>\fB\&.merge\fR
  7669. that name the branches at the remote named by
  7670. \fBbranch\&.\fR<current
  7671. \fBbranch\fR>\fB\&.remote\fR
  7672. are consulted, and then they are mapped via
  7673. \fBremote\&.\fR\fI<remote>\fR\fB\&.fetch\fR
  7674. to their corresponding remote\-tracking branches, and the tips of these tracking branches are merged\&. Defaults to true\&.
  7675. .RE
  7676. .PP
  7677. merge\&.ff
  7678. .RS 4
  7679. By default, Git does not create an extra merge commit when merging a commit that is a descendant of the current commit\&. Instead, the tip of the current branch is fast\-forwarded\&. When set to
  7680. \fBfalse\fR, this variable tells Git to create an extra merge commit in such a case (equivalent to giving the
  7681. \fB\-\-no\-ff\fR
  7682. option from the command line)\&. When set to
  7683. \fBonly\fR, only such fast\-forward merges are allowed (equivalent to giving the
  7684. \fB\-\-ff\-only\fR
  7685. option from the command line)\&.
  7686. .RE
  7687. .PP
  7688. merge\&.verifySignatures
  7689. .RS 4
  7690. If true, this is equivalent to the \-\-verify\-signatures command line option\&. See
  7691. \fBgit-merge\fR(1)
  7692. for details\&.
  7693. .RE
  7694. .PP
  7695. merge\&.branchdesc
  7696. .RS 4
  7697. In addition to branch names, populate the log message with the branch description text associated with them\&. Defaults to false\&.
  7698. .RE
  7699. .PP
  7700. merge\&.log
  7701. .RS 4
  7702. In addition to branch names, populate the log message with at most the specified number of one\-line descriptions from the actual commits that are being merged\&. Defaults to false, and true is a synonym for 20\&.
  7703. .RE
  7704. .PP
  7705. merge\&.suppressDest
  7706. .RS 4
  7707. By adding a glob that matches the names of integration branches to this multi\-valued configuration variable, the default merge message computed for merges into these integration branches will omit "into <branch name>" from its title\&.
  7708. .sp
  7709. An element with an empty value can be used to clear the list of globs accumulated from previous configuration entries\&. When there is no
  7710. \fBmerge\&.suppressDest\fR
  7711. variable defined, the default value of
  7712. \fBmaster\fR
  7713. is used for backward compatibility\&.
  7714. .RE
  7715. .PP
  7716. merge\&.renameLimit
  7717. .RS 4
  7718. The number of files to consider in the exhaustive portion of rename detection during a merge\&. If not specified, defaults to the value of diff\&.renameLimit\&. If neither merge\&.renameLimit nor diff\&.renameLimit are specified, currently defaults to 7000\&. This setting has no effect if rename detection is turned off\&.
  7719. .RE
  7720. .PP
  7721. merge\&.renames
  7722. .RS 4
  7723. Whether Git detects renames\&. If set to "false", rename detection is disabled\&. If set to "true", basic rename detection is enabled\&. Defaults to the value of diff\&.renames\&.
  7724. .RE
  7725. .PP
  7726. merge\&.directoryRenames
  7727. .RS 4
  7728. Whether Git detects directory renames, affecting what happens at merge time to new files added to a directory on one side of history when that directory was renamed on the other side of history\&. If merge\&.directoryRenames is set to "false", directory rename detection is disabled, meaning that such new files will be left behind in the old directory\&. If set to "true", directory rename detection is enabled, meaning that such new files will be moved into the new directory\&. If set to "conflict", a conflict will be reported for such paths\&. If merge\&.renames is false, merge\&.directoryRenames is ignored and treated as false\&. Defaults to "conflict"\&.
  7729. .RE
  7730. .PP
  7731. merge\&.renormalize
  7732. .RS 4
  7733. Tell Git that canonical representation of files in the repository has changed over time (e\&.g\&. earlier commits record text files with CRLF line endings, but recent ones use LF line endings)\&. In such a repository, for each file where a three\-way content merge is needed, Git can convert the data recorded in commits to a canonical form before performing a merge to reduce unnecessary conflicts\&. For more information, see section "Merging branches with differing checkin/checkout attributes" in
  7734. \fBgitattributes\fR(5)\&.
  7735. .RE
  7736. .PP
  7737. merge\&.stat
  7738. .RS 4
  7739. Whether to print the diffstat between ORIG_HEAD and the merge result at the end of the merge\&. True by default\&.
  7740. .RE
  7741. .PP
  7742. merge\&.autoStash
  7743. .RS 4
  7744. When set to true, automatically create a temporary stash entry before the operation begins, and apply it after the operation ends\&. This means that you can run merge on a dirty worktree\&. However, use with care: the final stash application after a successful merge might result in non\-trivial conflicts\&. This option can be overridden by the
  7745. \fB\-\-no\-autostash\fR
  7746. and
  7747. \fB\-\-autostash\fR
  7748. options of
  7749. \fBgit-merge\fR(1)\&. Defaults to false\&.
  7750. .RE
  7751. .PP
  7752. merge\&.tool
  7753. .RS 4
  7754. Controls which merge tool is used by
  7755. \fBgit-mergetool\fR(1)\&. The list below shows the valid built\-in values\&. Any other value is treated as a custom merge tool and requires that a corresponding mergetool\&.<tool>\&.cmd variable is defined\&.
  7756. .RE
  7757. .PP
  7758. merge\&.guitool
  7759. .RS 4
  7760. Controls which merge tool is used by
  7761. \fBgit-mergetool\fR(1)
  7762. when the \-g/\-\-gui flag is specified\&. The list below shows the valid built\-in values\&. Any other value is treated as a custom merge tool and requires that a corresponding mergetool\&.<guitool>\&.cmd variable is defined\&.
  7763. .PP
  7764. \fBaraxis\fR
  7765. .RS 4
  7766. Use Araxis Merge (requires a graphical session)
  7767. .RE
  7768. .PP
  7769. \fBbc\fR
  7770. .RS 4
  7771. Use Beyond Compare (requires a graphical session)
  7772. .RE
  7773. .PP
  7774. \fBbc3\fR
  7775. .RS 4
  7776. Use Beyond Compare (requires a graphical session)
  7777. .RE
  7778. .PP
  7779. \fBbc4\fR
  7780. .RS 4
  7781. Use Beyond Compare (requires a graphical session)
  7782. .RE
  7783. .PP
  7784. \fBcodecompare\fR
  7785. .RS 4
  7786. Use Code Compare (requires a graphical session)
  7787. .RE
  7788. .PP
  7789. \fBdeltawalker\fR
  7790. .RS 4
  7791. Use DeltaWalker (requires a graphical session)
  7792. .RE
  7793. .PP
  7794. \fBdiffmerge\fR
  7795. .RS 4
  7796. Use DiffMerge (requires a graphical session)
  7797. .RE
  7798. .PP
  7799. \fBdiffuse\fR
  7800. .RS 4
  7801. Use Diffuse (requires a graphical session)
  7802. .RE
  7803. .PP
  7804. \fBecmerge\fR
  7805. .RS 4
  7806. Use ECMerge (requires a graphical session)
  7807. .RE
  7808. .PP
  7809. \fBemerge\fR
  7810. .RS 4
  7811. Use Emacs\*(Aq Emerge
  7812. .RE
  7813. .PP
  7814. \fBexamdiff\fR
  7815. .RS 4
  7816. Use ExamDiff Pro (requires a graphical session)
  7817. .RE
  7818. .PP
  7819. \fBguiffy\fR
  7820. .RS 4
  7821. Use Guiffy\(cqs Diff Tool (requires a graphical session)
  7822. .RE
  7823. .PP
  7824. \fBgvimdiff\fR
  7825. .RS 4
  7826. Use gVim (requires a graphical session) with a custom layout (see
  7827. \fBgit\fR
  7828. \fBhelp\fR
  7829. \fBmergetool\fR\*(Aqs
  7830. \fBBACKEND\fR
  7831. \fBSPECIFIC\fR
  7832. \fBHINTS\fR
  7833. section)
  7834. .RE
  7835. .PP
  7836. \fBgvimdiff1\fR
  7837. .RS 4
  7838. Use gVim (requires a graphical session) with a 2 panes layout (LOCAL and REMOTE)
  7839. .RE
  7840. .PP
  7841. \fBgvimdiff2\fR
  7842. .RS 4
  7843. Use gVim (requires a graphical session) with a 3 panes layout (LOCAL, MERGED and REMOTE)
  7844. .RE
  7845. .PP
  7846. \fBgvimdiff3\fR
  7847. .RS 4
  7848. Use gVim (requires a graphical session) where only the MERGED file is shown
  7849. .RE
  7850. .PP
  7851. \fBkdiff3\fR
  7852. .RS 4
  7853. Use KDiff3 (requires a graphical session)
  7854. .RE
  7855. .PP
  7856. \fBmeld\fR
  7857. .RS 4
  7858. Use Meld (requires a graphical session) with optional
  7859. \fBauto\fR
  7860. \fBmerge\fR
  7861. (see
  7862. \fBgit\fR
  7863. \fBhelp\fR
  7864. \fBmergetool\fR\*(Aqs
  7865. \fBCONFIGURATION\fR
  7866. section)
  7867. .RE
  7868. .PP
  7869. \fBnvimdiff\fR
  7870. .RS 4
  7871. Use Neovim with a custom layout (see
  7872. \fBgit\fR
  7873. \fBhelp\fR
  7874. \fBmergetool\fR\*(Aqs
  7875. \fBBACKEND\fR
  7876. \fBSPECIFIC\fR
  7877. \fBHINTS\fR
  7878. section)
  7879. .RE
  7880. .PP
  7881. \fBnvimdiff1\fR
  7882. .RS 4
  7883. Use Neovim with a 2 panes layout (LOCAL and REMOTE)
  7884. .RE
  7885. .PP
  7886. \fBnvimdiff2\fR
  7887. .RS 4
  7888. Use Neovim with a 3 panes layout (LOCAL, MERGED and REMOTE)
  7889. .RE
  7890. .PP
  7891. \fBnvimdiff3\fR
  7892. .RS 4
  7893. Use Neovim where only the MERGED file is shown
  7894. .RE
  7895. .PP
  7896. \fBopendiff\fR
  7897. .RS 4
  7898. Use FileMerge (requires a graphical session)
  7899. .RE
  7900. .PP
  7901. \fBp4merge\fR
  7902. .RS 4
  7903. Use HelixCore P4Merge (requires a graphical session)
  7904. .RE
  7905. .PP
  7906. \fBsmerge\fR
  7907. .RS 4
  7908. Use Sublime Merge (requires a graphical session)
  7909. .RE
  7910. .PP
  7911. \fBtkdiff\fR
  7912. .RS 4
  7913. Use TkDiff (requires a graphical session)
  7914. .RE
  7915. .PP
  7916. \fBtortoisemerge\fR
  7917. .RS 4
  7918. Use TortoiseMerge (requires a graphical session)
  7919. .RE
  7920. .PP
  7921. \fBvimdiff\fR
  7922. .RS 4
  7923. Use Vim with a custom layout (see
  7924. \fBgit\fR
  7925. \fBhelp\fR
  7926. \fBmergetool\fR\*(Aqs
  7927. \fBBACKEND\fR
  7928. \fBSPECIFIC\fR
  7929. \fBHINTS\fR
  7930. section)
  7931. .RE
  7932. .PP
  7933. \fBvimdiff1\fR
  7934. .RS 4
  7935. Use Vim with a 2 panes layout (LOCAL and REMOTE)
  7936. .RE
  7937. .PP
  7938. \fBvimdiff2\fR
  7939. .RS 4
  7940. Use Vim with a 3 panes layout (LOCAL, MERGED and REMOTE)
  7941. .RE
  7942. .PP
  7943. \fBvimdiff3\fR
  7944. .RS 4
  7945. Use Vim where only the MERGED file is shown
  7946. .RE
  7947. .PP
  7948. \fBvscode\fR
  7949. .RS 4
  7950. Use Visual Studio Code (requires a graphical session)
  7951. .RE
  7952. .PP
  7953. \fBwinmerge\fR
  7954. .RS 4
  7955. Use WinMerge (requires a graphical session)
  7956. .RE
  7957. .PP
  7958. \fBxxdiff\fR
  7959. .RS 4
  7960. Use xxdiff (requires a graphical session)
  7961. .RE
  7962. .RE
  7963. .PP
  7964. merge\&.verbosity
  7965. .RS 4
  7966. Controls the amount of output shown by the recursive merge strategy\&. Level 0 outputs nothing except a final error message if conflicts were detected\&. Level 1 outputs only conflicts, 2 outputs conflicts and file changes\&. Level 5 and above outputs debugging information\&. The default is level 2\&. Can be overridden by the
  7967. \fBGIT_MERGE_VERBOSITY\fR
  7968. environment variable\&.
  7969. .RE
  7970. .PP
  7971. merge\&.<driver>\&.name
  7972. .RS 4
  7973. Defines a human\-readable name for a custom low\-level merge driver\&. See
  7974. \fBgitattributes\fR(5)
  7975. for details\&.
  7976. .RE
  7977. .PP
  7978. merge\&.<driver>\&.driver
  7979. .RS 4
  7980. Defines the command that implements a custom low\-level merge driver\&. See
  7981. \fBgitattributes\fR(5)
  7982. for details\&.
  7983. .RE
  7984. .PP
  7985. merge\&.<driver>\&.recursive
  7986. .RS 4
  7987. Names a low\-level merge driver to be used when performing an internal merge between common ancestors\&. See
  7988. \fBgitattributes\fR(5)
  7989. for details\&.
  7990. .RE
  7991. .PP
  7992. mergetool\&.<tool>\&.path
  7993. .RS 4
  7994. Override the path for the given tool\&. This is useful in case your tool is not in the PATH\&.
  7995. .RE
  7996. .PP
  7997. mergetool\&.<tool>\&.cmd
  7998. .RS 4
  7999. Specify the command to invoke the specified merge tool\&. The specified command is evaluated in shell with the following variables available:
  8000. \fIBASE\fR
  8001. is the name of a temporary file containing the common base of the files to be merged, if available;
  8002. \fILOCAL\fR
  8003. is the name of a temporary file containing the contents of the file on the current branch;
  8004. \fIREMOTE\fR
  8005. is the name of a temporary file containing the contents of the file from the branch being merged;
  8006. \fIMERGED\fR
  8007. contains the name of the file to which the merge tool should write the results of a successful merge\&.
  8008. .RE
  8009. .PP
  8010. mergetool\&.<tool>\&.hideResolved
  8011. .RS 4
  8012. Allows the user to override the global
  8013. \fBmergetool\&.hideResolved\fR
  8014. value for a specific tool\&. See
  8015. \fBmergetool\&.hideResolved\fR
  8016. for the full description\&.
  8017. .RE
  8018. .PP
  8019. mergetool\&.<tool>\&.trustExitCode
  8020. .RS 4
  8021. For a custom merge command, specify whether the exit code of the merge command can be used to determine whether the merge was successful\&. If this is not set to true then the merge target file timestamp is checked, and the merge is assumed to have been successful if the file has been updated; otherwise, the user is prompted to indicate the success of the merge\&.
  8022. .RE
  8023. .PP
  8024. mergetool\&.meld\&.hasOutput
  8025. .RS 4
  8026. Older versions of
  8027. \fBmeld\fR
  8028. do not support the
  8029. \fB\-\-output\fR
  8030. option\&. Git will attempt to detect whether
  8031. \fBmeld\fR
  8032. supports
  8033. \fB\-\-output\fR
  8034. by inspecting the output of
  8035. \fBmeld\fR
  8036. \fB\-\-help\fR\&. Configuring
  8037. \fBmergetool\&.meld\&.hasOutput\fR
  8038. will make Git skip these checks and use the configured value instead\&. Setting
  8039. \fBmergetool\&.meld\&.hasOutput\fR
  8040. to
  8041. \fBtrue\fR
  8042. tells Git to unconditionally use the
  8043. \fB\-\-output\fR
  8044. option, and
  8045. \fBfalse\fR
  8046. avoids using
  8047. \fB\-\-output\fR\&.
  8048. .RE
  8049. .PP
  8050. mergetool\&.meld\&.useAutoMerge
  8051. .RS 4
  8052. When the
  8053. \fB\-\-auto\-merge\fR
  8054. is given, meld will merge all non\-conflicting parts automatically, highlight the conflicting parts, and wait for user decision\&. Setting
  8055. \fBmergetool\&.meld\&.useAutoMerge\fR
  8056. to
  8057. \fBtrue\fR
  8058. tells Git to unconditionally use the
  8059. \fB\-\-auto\-merge\fR
  8060. option with
  8061. \fBmeld\fR\&. Setting this value to
  8062. \fBauto\fR
  8063. makes git detect whether
  8064. \fB\-\-auto\-merge\fR
  8065. is supported and will only use
  8066. \fB\-\-auto\-merge\fR
  8067. when available\&. A value of
  8068. \fBfalse\fR
  8069. avoids using
  8070. \fB\-\-auto\-merge\fR
  8071. altogether, and is the default value\&.
  8072. .RE
  8073. .PP
  8074. mergetool\&.<vimdiff variant>\&.layout
  8075. .RS 4
  8076. Configure the split window layout for vimdiff\(cqs
  8077. \fI<variant>\fR, which is any of
  8078. \fBvimdiff\fR,
  8079. \fBnvimdiff\fR,
  8080. \fBgvimdiff\fR\&. Upon launching
  8081. \fBgit\fR
  8082. \fBmergetool\fR
  8083. with
  8084. \fB\-\-tool=\fR\fI<variant>\fR
  8085. (or without
  8086. \fB\-\-tool\fR
  8087. if
  8088. \fBmerge\&.tool\fR
  8089. is configured as
  8090. \fI<variant>\fR), Git will consult
  8091. \fBmergetool\&.\fR\fI<variant>\fR\fB\&.layout\fR
  8092. to determine the tool\(cqs layout\&. If the variant\-specific configuration is not available,
  8093. \fBvimdiff\fR\*(Aqs is used as fallback\&. If that too is not available, a default layout with 4 windows will be used\&. To configure the layout, see the
  8094. \fBBACKEND\fR
  8095. \fBSPECIFIC\fR
  8096. \fBHINTS\fR
  8097. section in
  8098. \fBgit-mergetool\fR(1)\&.
  8099. .RE
  8100. .PP
  8101. mergetool\&.hideResolved
  8102. .RS 4
  8103. During a merge, Git will automatically resolve as many conflicts as possible and write the
  8104. \fIMERGED\fR
  8105. file containing conflict markers around any conflicts that it cannot resolve;
  8106. \fILOCAL\fR
  8107. and
  8108. \fIREMOTE\fR
  8109. normally represent the versions of the file from before Git\(cqs conflict resolution\&. This flag causes
  8110. \fILOCAL\fR
  8111. and
  8112. \fIREMOTE\fR
  8113. to be overwritten so that only the unresolved conflicts are presented to the merge tool\&. Can be configured per\-tool via the
  8114. \fBmergetool\&.\fR\fI<tool>\fR\fB\&.hideResolved\fR
  8115. configuration variable\&. Defaults to
  8116. \fBfalse\fR\&.
  8117. .RE
  8118. .PP
  8119. mergetool\&.keepBackup
  8120. .RS 4
  8121. After performing a merge, the original file with conflict markers can be saved as a file with a \&.\fBorig\fR
  8122. extension\&. If this variable is set to
  8123. \fBfalse\fR
  8124. then this file is not preserved\&. Defaults to
  8125. \fBtrue\fR
  8126. (i\&.e\&. keep the backup files)\&.
  8127. .RE
  8128. .PP
  8129. mergetool\&.keepTemporaries
  8130. .RS 4
  8131. When invoking a custom merge tool, Git uses a set of temporary files to pass to the tool\&. If the tool returns an error and this variable is set to
  8132. \fBtrue\fR, then these temporary files will be preserved; otherwise, they will be removed after the tool has exited\&. Defaults to
  8133. \fBfalse\fR\&.
  8134. .RE
  8135. .PP
  8136. mergetool\&.writeToTemp
  8137. .RS 4
  8138. Git writes temporary
  8139. \fIBASE\fR,
  8140. \fILOCAL\fR, and
  8141. \fIREMOTE\fR
  8142. versions of conflicting files in the worktree by default\&. Git will attempt to use a temporary directory for these files when set
  8143. \fBtrue\fR\&. Defaults to
  8144. \fBfalse\fR\&.
  8145. .RE
  8146. .PP
  8147. mergetool\&.prompt
  8148. .RS 4
  8149. Prompt before each invocation of the merge resolution program\&.
  8150. .RE
  8151. .PP
  8152. mergetool\&.guiDefault
  8153. .RS 4
  8154. Set
  8155. \fBtrue\fR
  8156. to use the
  8157. \fBmerge\&.guitool\fR
  8158. by default (equivalent to specifying the
  8159. \fB\-\-gui\fR
  8160. argument), or
  8161. \fBauto\fR
  8162. to select
  8163. \fBmerge\&.guitool\fR
  8164. or
  8165. \fBmerge\&.tool\fR
  8166. depending on the presence of a
  8167. \fBDISPLAY\fR
  8168. environment variable value\&. The default is
  8169. \fBfalse\fR, where the
  8170. \fB\-\-gui\fR
  8171. argument must be provided explicitly for the
  8172. \fBmerge\&.guitool\fR
  8173. to be used\&.
  8174. .RE
  8175. .PP
  8176. \fBnotes\&.mergeStrategy\fR
  8177. .RS 4
  8178. Which merge strategy to choose by default when resolving notes conflicts\&. Must be one of
  8179. \fBmanual\fR,
  8180. \fBours\fR,
  8181. \fBtheirs\fR,
  8182. \fBunion\fR, or
  8183. \fBcat_sort_uniq\fR\&. Defaults to
  8184. \fBmanual\fR\&. See the "NOTES MERGE STRATEGIES" section of
  8185. \fBgit-notes\fR(1)
  8186. for more information on each strategy\&.
  8187. .sp
  8188. This setting can be overridden by passing the
  8189. \fB\-\-strategy\fR
  8190. option to
  8191. \fBgit-notes\fR(1)\&.
  8192. .RE
  8193. .PP
  8194. \fBnotes\&.\fR\fI<name>\fR\fB\&.mergeStrategy\fR
  8195. .RS 4
  8196. Which merge strategy to choose when doing a notes merge into
  8197. \fBrefs/notes/\fR\fI<name>\fR\&. This overrides the more general
  8198. \fBnotes\&.mergeStrategy\fR\&. See the "NOTES MERGE STRATEGIES" section in
  8199. \fBgit-notes\fR(1)
  8200. for more information on the available strategies\&.
  8201. .RE
  8202. .PP
  8203. \fBnotes\&.displayRef\fR
  8204. .RS 4
  8205. Which ref (or refs, if a glob or specified more than once), in addition to the default set by
  8206. \fBcore\&.notesRef\fR
  8207. or
  8208. \fBGIT_NOTES_REF\fR, to read notes from when showing commit messages with the
  8209. \fBgit\fR
  8210. \fBlog\fR
  8211. family of commands\&.
  8212. .sp
  8213. This setting can be overridden with the
  8214. \fBGIT_NOTES_DISPLAY_REF\fR
  8215. environment variable, which must be a colon separated list of refs or globs\&.
  8216. .sp
  8217. A warning will be issued for refs that do not exist, but a glob that does not match any refs is silently ignored\&.
  8218. .sp
  8219. This setting can be disabled by the
  8220. \fB\-\-no\-notes\fR
  8221. option to the
  8222. \fBgit-log\fR(1)
  8223. family of commands, or by the
  8224. \fB\-\-notes=\fR\fI<ref>\fR
  8225. option accepted by those commands\&.
  8226. .sp
  8227. The effective value of
  8228. \fBcore\&.notesRef\fR
  8229. (possibly overridden by
  8230. \fBGIT_NOTES_REF\fR) is also implicitly added to the list of refs to be displayed\&.
  8231. .RE
  8232. .PP
  8233. \fBnotes\&.rewrite\&.\fR\fI<command>\fR
  8234. .RS 4
  8235. When rewriting commits with
  8236. \fI<command>\fR
  8237. (currently
  8238. \fBamend\fR
  8239. or
  8240. \fBrebase\fR), if this variable is
  8241. \fBfalse\fR, git will not copy notes from the original to the rewritten commit\&. Defaults to
  8242. \fBtrue\fR\&. See also
  8243. \fBnotes\&.rewriteRef\fR
  8244. below\&.
  8245. .sp
  8246. This setting can be overridden with the
  8247. \fBGIT_NOTES_REWRITE_REF\fR
  8248. environment variable, which must be a colon separated list of refs or globs\&.
  8249. .RE
  8250. .PP
  8251. \fBnotes\&.rewriteMode\fR
  8252. .RS 4
  8253. When copying notes during a rewrite (see the
  8254. \fBnotes\&.rewrite\&.\fR\fI<command>\fR
  8255. option), determines what to do if the target commit already has a note\&. Must be one of
  8256. \fBoverwrite\fR,
  8257. \fBconcatenate\fR,
  8258. \fBcat_sort_uniq\fR, or
  8259. \fBignore\fR\&. Defaults to
  8260. \fBconcatenate\fR\&.
  8261. .sp
  8262. This setting can be overridden with the
  8263. \fBGIT_NOTES_REWRITE_MODE\fR
  8264. environment variable\&.
  8265. .RE
  8266. .PP
  8267. \fBnotes\&.rewriteRef\fR
  8268. .RS 4
  8269. When copying notes during a rewrite, specifies the (fully qualified) ref whose notes should be copied\&. May be a glob, in which case notes in all matching refs will be copied\&. You may also specify this configuration several times\&.
  8270. .sp
  8271. Does not have a default value; you must configure this variable to enable note rewriting\&. Set it to
  8272. \fBrefs/notes/commits\fR
  8273. to enable rewriting for the default commit notes\&.
  8274. .sp
  8275. Can be overridden with the
  8276. \fBGIT_NOTES_REWRITE_REF\fR
  8277. environment variable\&. See
  8278. \fBnotes\&.rewrite\&.\fR\fI<command>\fR
  8279. above for a further description of its format\&.
  8280. .RE
  8281. .PP
  8282. pack\&.window
  8283. .RS 4
  8284. The size of the window used by
  8285. \fBgit-pack-objects\fR(1)
  8286. when no window size is given on the command line\&. Defaults to 10\&.
  8287. .RE
  8288. .PP
  8289. pack\&.depth
  8290. .RS 4
  8291. The maximum delta depth used by
  8292. \fBgit-pack-objects\fR(1)
  8293. when no maximum depth is given on the command line\&. Defaults to 50\&. Maximum value is 4095\&.
  8294. .RE
  8295. .PP
  8296. pack\&.windowMemory
  8297. .RS 4
  8298. The maximum size of memory that is consumed by each thread in
  8299. \fBgit-pack-objects\fR(1)
  8300. for pack window memory when no limit is given on the command line\&. The value can be suffixed with "k", "m", or "g"\&. When left unconfigured (or set explicitly to 0), there will be no limit\&.
  8301. .RE
  8302. .PP
  8303. pack\&.compression
  8304. .RS 4
  8305. An integer \-1\&.\&.9, indicating the compression level for objects in a pack file\&. \-1 is the zlib default\&. 0 means no compression, and 1\&.\&.9 are various speed/size tradeoffs, 9 being slowest\&. If not set, defaults to core\&.compression\&. If that is not set, defaults to \-1, the zlib default, which is "a default compromise between speed and compression (currently equivalent to level 6)\&."
  8306. .sp
  8307. Note that changing the compression level will not automatically recompress all existing objects\&. You can force recompression by passing the \-F option to
  8308. \fBgit-repack\fR(1)\&.
  8309. .RE
  8310. .PP
  8311. pack\&.allowPackReuse
  8312. .RS 4
  8313. When true or "single", and when reachability bitmaps are enabled, pack\-objects will try to send parts of the bitmapped packfile verbatim\&. When "multi", and when a multi\-pack reachability bitmap is available, pack\-objects will try to send parts of all packs in the MIDX\&.
  8314. .sp
  8315. If only a single pack bitmap is available, and
  8316. \fBpack\&.allowPackReuse\fR
  8317. is set to "multi", reuse parts of just the bitmapped packfile\&. This can reduce memory and CPU usage to serve fetches, but might result in sending a slightly larger pack\&. Defaults to true\&.
  8318. .RE
  8319. .PP
  8320. pack\&.island
  8321. .RS 4
  8322. An extended regular expression configuring a set of delta islands\&. See "DELTA ISLANDS" in
  8323. \fBgit-pack-objects\fR(1)
  8324. for details\&.
  8325. .RE
  8326. .PP
  8327. pack\&.islandCore
  8328. .RS 4
  8329. Specify an island name which gets to have its objects be packed first\&. This creates a kind of pseudo\-pack at the front of one pack, so that the objects from the specified island are hopefully faster to copy into any pack that should be served to a user requesting these objects\&. In practice this means that the island specified should likely correspond to what is the most commonly cloned in the repo\&. See also "DELTA ISLANDS" in
  8330. \fBgit-pack-objects\fR(1)\&.
  8331. .RE
  8332. .PP
  8333. pack\&.deltaCacheSize
  8334. .RS 4
  8335. The maximum memory in bytes used for caching deltas in
  8336. \fBgit-pack-objects\fR(1)
  8337. before writing them out to a pack\&. This cache is used to speed up the writing object phase by not having to recompute the final delta result once the best match for all objects is found\&. Repacking large repositories on machines which are tight with memory might be badly impacted by this though, especially if this cache pushes the system into swapping\&. A value of 0 means no limit\&. The smallest size of 1 byte may be used to virtually disable this cache\&. Defaults to 256 MiB\&.
  8338. .RE
  8339. .PP
  8340. pack\&.deltaCacheLimit
  8341. .RS 4
  8342. The maximum size of a delta, that is cached in
  8343. \fBgit-pack-objects\fR(1)\&. This cache is used to speed up the writing object phase by not having to recompute the final delta result once the best match for all objects is found\&. Defaults to 1000\&. Maximum value is 65535\&.
  8344. .RE
  8345. .PP
  8346. pack\&.threads
  8347. .RS 4
  8348. Specifies the number of threads to spawn when searching for best delta matches\&. This requires that
  8349. \fBgit-pack-objects\fR(1)
  8350. be compiled with pthreads otherwise this option is ignored with a warning\&. This is meant to reduce packing time on multiprocessor machines\&. The required amount of memory for the delta search window is however multiplied by the number of threads\&. Specifying 0 will cause Git to auto\-detect the number of CPUs and set the number of threads accordingly\&.
  8351. .RE
  8352. .PP
  8353. pack\&.indexVersion
  8354. .RS 4
  8355. Specify the default pack index version\&. Valid values are 1 for legacy pack index used by Git versions prior to 1\&.5\&.2, and 2 for the new pack index with capabilities for packs larger than 4 GB as well as proper protection against the repacking of corrupted packs\&. Version 2 is the default\&. Note that version 2 is enforced and this config option is ignored whenever the corresponding pack is larger than 2 GB\&.
  8356. .sp
  8357. If you have an old Git that does not understand the version 2 *\&.\fBidx\fR
  8358. file, cloning or fetching over a non\-native protocol (e\&.g\&. "http") that will copy both *\&.\fBpack\fR
  8359. file and corresponding *\&.\fBidx\fR
  8360. file from the other side may give you a repository that cannot be accessed with your older version of Git\&. If the *\&.\fBpack\fR
  8361. file is smaller than 2 GB, however, you can use
  8362. \fBgit-index-pack\fR(1)
  8363. on the *\&.pack file to regenerate the *\&.\fBidx\fR
  8364. file\&.
  8365. .RE
  8366. .PP
  8367. pack\&.packSizeLimit
  8368. .RS 4
  8369. The maximum size of a pack\&. This setting only affects packing to a file when repacking, i\&.e\&. the git:// protocol is unaffected\&. It can be overridden by the
  8370. \fB\-\-max\-pack\-size\fR
  8371. option of
  8372. \fBgit-repack\fR(1)\&. Reaching this limit results in the creation of multiple packfiles\&.
  8373. .sp
  8374. Note that this option is rarely useful, and may result in a larger total on\-disk size (because Git will not store deltas between packs) and worse runtime performance (object lookup within multiple packs is slower than a single pack, and optimizations like reachability bitmaps cannot cope with multiple packs)\&.
  8375. .sp
  8376. If you need to actively run Git using smaller packfiles (e\&.g\&., because your filesystem does not support large files), this option may help\&. But if your goal is to transmit a packfile over a medium that supports limited sizes (e\&.g\&., removable media that cannot store the whole repository), you are likely better off creating a single large packfile and splitting it using a generic multi\-volume archive tool (e\&.g\&., Unix
  8377. \fBsplit\fR)\&.
  8378. .sp
  8379. The minimum size allowed is limited to 1 MiB\&. The default is unlimited\&. Common unit suffixes of
  8380. \fIk\fR,
  8381. \fIm\fR, or
  8382. \fIg\fR
  8383. are supported\&.
  8384. .RE
  8385. .PP
  8386. pack\&.useBitmaps
  8387. .RS 4
  8388. When true, git will use pack bitmaps (if available) when packing to stdout (e\&.g\&., during the server side of a fetch)\&. Defaults to true\&. You should not generally need to turn this off unless you are debugging pack bitmaps\&.
  8389. .RE
  8390. .PP
  8391. pack\&.useBitmapBoundaryTraversal
  8392. .RS 4
  8393. When true, Git will use an experimental algorithm for computing reachability queries with bitmaps\&. Instead of building up complete bitmaps for all of the negated tips and then OR\-ing them together, consider negated tips with existing bitmaps as additive (i\&.e\&. OR\-ing them into the result if they exist, ignoring them otherwise), and build up a bitmap at the boundary instead\&.
  8394. .sp
  8395. When using this algorithm, Git may include too many objects as a result of not opening up trees belonging to certain UNINTERESTING commits\&. This inexactness matches the non\-bitmap traversal algorithm\&.
  8396. .sp
  8397. In many cases, this can provide a speed\-up over the exact algorithm, particularly when there is poor bitmap coverage of the negated side of the query\&.
  8398. .RE
  8399. .PP
  8400. pack\&.useSparse
  8401. .RS 4
  8402. When true, git will default to using the
  8403. \fI\-\-sparse\fR
  8404. option in
  8405. \fIgit pack\-objects\fR
  8406. when the
  8407. \fI\-\-revs\fR
  8408. option is present\&. This algorithm only walks trees that appear in paths that introduce new objects\&. This can have significant performance benefits when computing a pack to send a small change\&. However, it is possible that extra objects are added to the pack\-file if the included commits contain certain types of direct renames\&. Default is
  8409. \fBtrue\fR\&.
  8410. .RE
  8411. .PP
  8412. pack\&.preferBitmapTips
  8413. .RS 4
  8414. When selecting which commits will receive bitmaps, prefer a commit at the tip of any reference that is a suffix of any value of this configuration over any other commits in the "selection window"\&.
  8415. .sp
  8416. Note that setting this configuration to
  8417. \fBrefs/foo\fR
  8418. does not mean that the commits at the tips of
  8419. \fBrefs/foo/bar\fR
  8420. and
  8421. \fBrefs/foo/baz\fR
  8422. will necessarily be selected\&. This is because commits are selected for bitmaps from within a series of windows of variable length\&.
  8423. .sp
  8424. If a commit at the tip of any reference which is a suffix of any value of this configuration is seen in a window, it is immediately given preference over any other commit in that window\&.
  8425. .RE
  8426. .PP
  8427. pack\&.writeBitmaps (deprecated)
  8428. .RS 4
  8429. This is a deprecated synonym for
  8430. \fBrepack\&.writeBitmaps\fR\&.
  8431. .RE
  8432. .PP
  8433. pack\&.writeBitmapHashCache
  8434. .RS 4
  8435. When true, git will include a "hash cache" section in the bitmap index (if one is written)\&. This cache can be used to feed git\(cqs delta heuristics, potentially leading to better deltas between bitmapped and non\-bitmapped objects (e\&.g\&., when serving a fetch between an older, bitmapped pack and objects that have been pushed since the last gc)\&. The downside is that it consumes 4 bytes per object of disk space\&. Defaults to true\&.
  8436. .sp
  8437. When writing a multi\-pack reachability bitmap, no new namehashes are computed; instead, any namehashes stored in an existing bitmap are permuted into their appropriate location when writing a new bitmap\&.
  8438. .RE
  8439. .PP
  8440. pack\&.writeBitmapLookupTable
  8441. .RS 4
  8442. When true, Git will include a "lookup table" section in the bitmap index (if one is written)\&. This table is used to defer loading individual bitmaps as late as possible\&. This can be beneficial in repositories that have relatively large bitmap indexes\&. Defaults to false\&.
  8443. .RE
  8444. .PP
  8445. pack\&.readReverseIndex
  8446. .RS 4
  8447. When true, git will read any \&.rev file(s) that may be available (see:
  8448. \fBgitformat-pack\fR(5))\&. When false, the reverse index will be generated from scratch and stored in memory\&. Defaults to true\&.
  8449. .RE
  8450. .PP
  8451. pack\&.writeReverseIndex
  8452. .RS 4
  8453. When true, git will write a corresponding \&.rev file (see:
  8454. \fBgitformat-pack\fR(5)) for each new packfile that it writes in all places except for
  8455. \fBgit-fast-import\fR(1)
  8456. and in the bulk checkin mechanism\&. Defaults to true\&.
  8457. .RE
  8458. .PP
  8459. pager\&.<cmd>
  8460. .RS 4
  8461. If the value is boolean, turns on or off pagination of the output of a particular Git subcommand when writing to a tty\&. Otherwise, turns on pagination for the subcommand using the pager specified by the value of
  8462. \fBpager\&.\fR\fI<cmd>\fR\&. If
  8463. \fB\-\-paginate\fR
  8464. or
  8465. \fB\-\-no\-pager\fR
  8466. is specified on the command line, it takes precedence over this option\&. To disable pagination for all commands, set
  8467. \fBcore\&.pager\fR
  8468. or
  8469. \fBGIT_PAGER\fR
  8470. to
  8471. \fBcat\fR\&.
  8472. .RE
  8473. .PP
  8474. pretty\&.<name>
  8475. .RS 4
  8476. Alias for a \-\-pretty= format string, as specified in
  8477. \fBgit-log\fR(1)\&. Any aliases defined here can be used just as the built\-in pretty formats could\&. For example, running
  8478. \fBgit\fR
  8479. \fBconfig\fR
  8480. \fBpretty\&.changelog\fR
  8481. "format:* %H %s" would cause the invocation
  8482. \fBgit\fR
  8483. \fBlog\fR
  8484. \fB\-\-pretty=changelog\fR
  8485. to be equivalent to running
  8486. \fBgit\fR
  8487. \fBlog\fR
  8488. "\-\-pretty=format:* %H %s"\&. Note that an alias with the same name as a built\-in format will be silently ignored\&.
  8489. .RE
  8490. .PP
  8491. promisor\&.quiet
  8492. .RS 4
  8493. If set to "true" assume
  8494. \fB\-\-quiet\fR
  8495. when fetching additional objects for a partial clone\&.
  8496. .RE
  8497. .PP
  8498. promisor\&.advertise
  8499. .RS 4
  8500. If set to "true", a server will use the "promisor\-remote" capability, see
  8501. \fBgitprotocol-v2\fR(5), to advertise the promisor remotes it is using, if it uses some\&. Default is "false", which means the "promisor\-remote" capability is not advertised\&.
  8502. .RE
  8503. .PP
  8504. promisor\&.acceptFromServer
  8505. .RS 4
  8506. If set to "all", a client will accept all the promisor remotes a server might advertise using the "promisor\-remote" capability\&. If set to "knownName" the client will accept promisor remotes which are already configured on the client and have the same name as those advertised by the client\&. This is not very secure, but could be used in a corporate setup where servers and clients are trusted to not switch name and URLs\&. If set to "knownUrl", the client will accept promisor remotes which have both the same name and the same URL configured on the client as the name and URL advertised by the server\&. This is more secure than "all" or "knownName", so it should be used if possible instead of those options\&. Default is "none", which means no promisor remote advertised by a server will be accepted\&. By accepting a promisor remote, the client agrees that the server might omit objects that are lazily fetchable from this promisor remote from its responses to "fetch" and "clone" requests from the client\&. See
  8507. \fBgitprotocol-v2\fR(5)\&.
  8508. .RE
  8509. .PP
  8510. protocol\&.allow
  8511. .RS 4
  8512. If set, provide a user defined default policy for all protocols which don\(cqt explicitly have a policy (\fBprotocol\&.\fR\fI<name>\fR\fB\&.allow\fR)\&. By default, if unset, known\-safe protocols (http, https, git, ssh) have a default policy of
  8513. \fBalways\fR, known\-dangerous protocols (ext) have a default policy of
  8514. \fBnever\fR, and all other protocols (including file) have a default policy of
  8515. \fBuser\fR\&. Supported policies:
  8516. .sp
  8517. .RS 4
  8518. .ie n \{\
  8519. \h'-04'\(bu\h'+03'\c
  8520. .\}
  8521. .el \{\
  8522. .sp -1
  8523. .IP \(bu 2.3
  8524. .\}
  8525. \fBalways\fR
  8526. \- protocol is always able to be used\&.
  8527. .RE
  8528. .sp
  8529. .RS 4
  8530. .ie n \{\
  8531. \h'-04'\(bu\h'+03'\c
  8532. .\}
  8533. .el \{\
  8534. .sp -1
  8535. .IP \(bu 2.3
  8536. .\}
  8537. \fBnever\fR
  8538. \- protocol is never able to be used\&.
  8539. .RE
  8540. .sp
  8541. .RS 4
  8542. .ie n \{\
  8543. \h'-04'\(bu\h'+03'\c
  8544. .\}
  8545. .el \{\
  8546. .sp -1
  8547. .IP \(bu 2.3
  8548. .\}
  8549. \fBuser\fR
  8550. \- protocol is only able to be used when
  8551. \fBGIT_PROTOCOL_FROM_USER\fR
  8552. is either unset or has a value of 1\&. This policy should be used when you want a protocol to be directly usable by the user but don\(cqt want it used by commands which execute clone/fetch/push commands without user input, e\&.g\&. recursive submodule initialization\&.
  8553. .RE
  8554. .RE
  8555. .PP
  8556. protocol\&.<name>\&.allow
  8557. .RS 4
  8558. Set a policy to be used by protocol
  8559. \fI<name>\fR
  8560. with clone/fetch/push commands\&. See
  8561. \fBprotocol\&.allow\fR
  8562. above for the available policies\&.
  8563. .sp
  8564. The protocol names currently used by git are:
  8565. .sp
  8566. .RS 4
  8567. .ie n \{\
  8568. \h'-04'\(bu\h'+03'\c
  8569. .\}
  8570. .el \{\
  8571. .sp -1
  8572. .IP \(bu 2.3
  8573. .\}
  8574. \fBfile\fR: any local file\-based path (including
  8575. \fBfile://\fR
  8576. URLs, or local paths)
  8577. .RE
  8578. .sp
  8579. .RS 4
  8580. .ie n \{\
  8581. \h'-04'\(bu\h'+03'\c
  8582. .\}
  8583. .el \{\
  8584. .sp -1
  8585. .IP \(bu 2.3
  8586. .\}
  8587. \fBgit\fR: the anonymous git protocol over a direct TCP connection (or proxy, if configured)
  8588. .RE
  8589. .sp
  8590. .RS 4
  8591. .ie n \{\
  8592. \h'-04'\(bu\h'+03'\c
  8593. .\}
  8594. .el \{\
  8595. .sp -1
  8596. .IP \(bu 2.3
  8597. .\}
  8598. \fBssh\fR: git over ssh (including
  8599. \fBhost:path\fR
  8600. syntax,
  8601. \fBssh://\fR, etc)\&.
  8602. .RE
  8603. .sp
  8604. .RS 4
  8605. .ie n \{\
  8606. \h'-04'\(bu\h'+03'\c
  8607. .\}
  8608. .el \{\
  8609. .sp -1
  8610. .IP \(bu 2.3
  8611. .\}
  8612. \fBhttp\fR: git over http, both "smart http" and "dumb http"\&. Note that this does
  8613. \fInot\fR
  8614. include
  8615. \fBhttps\fR; if you want to configure both, you must do so individually\&.
  8616. .RE
  8617. .sp
  8618. .RS 4
  8619. .ie n \{\
  8620. \h'-04'\(bu\h'+03'\c
  8621. .\}
  8622. .el \{\
  8623. .sp -1
  8624. .IP \(bu 2.3
  8625. .\}
  8626. any external helpers are named by their protocol (e\&.g\&., use
  8627. \fBhg\fR
  8628. to allow the
  8629. \fBgit\-remote\-hg\fR
  8630. helper)
  8631. .RE
  8632. .RE
  8633. .PP
  8634. protocol\&.version
  8635. .RS 4
  8636. If set, clients will attempt to communicate with a server using the specified protocol version\&. If the server does not support it, communication falls back to version 0\&. If unset, the default is
  8637. \fB2\fR\&. Supported versions:
  8638. .sp
  8639. .RS 4
  8640. .ie n \{\
  8641. \h'-04'\(bu\h'+03'\c
  8642. .\}
  8643. .el \{\
  8644. .sp -1
  8645. .IP \(bu 2.3
  8646. .\}
  8647. \fB0\fR
  8648. \- the original wire protocol\&.
  8649. .RE
  8650. .sp
  8651. .RS 4
  8652. .ie n \{\
  8653. \h'-04'\(bu\h'+03'\c
  8654. .\}
  8655. .el \{\
  8656. .sp -1
  8657. .IP \(bu 2.3
  8658. .\}
  8659. \fB1\fR
  8660. \- the original wire protocol with the addition of a version string in the initial response from the server\&.
  8661. .RE
  8662. .sp
  8663. .RS 4
  8664. .ie n \{\
  8665. \h'-04'\(bu\h'+03'\c
  8666. .\}
  8667. .el \{\
  8668. .sp -1
  8669. .IP \(bu 2.3
  8670. .\}
  8671. \fB2\fR
  8672. \- Wire protocol version 2, see
  8673. \fBgitprotocol-v2\fR(5)\&.
  8674. .RE
  8675. .RE
  8676. .PP
  8677. pull\&.ff
  8678. .RS 4
  8679. By default, Git does not create an extra merge commit when merging a commit that is a descendant of the current commit\&. Instead, the tip of the current branch is fast\-forwarded\&. When set to
  8680. \fBfalse\fR, this variable tells Git to create an extra merge commit in such a case (equivalent to giving the
  8681. \fB\-\-no\-ff\fR
  8682. option from the command line)\&. When set to
  8683. \fBonly\fR, only such fast\-forward merges are allowed (equivalent to giving the
  8684. \fB\-\-ff\-only\fR
  8685. option from the command line)\&. This setting overrides
  8686. \fBmerge\&.ff\fR
  8687. when pulling\&.
  8688. .RE
  8689. .PP
  8690. pull\&.rebase
  8691. .RS 4
  8692. When true, rebase branches on top of the fetched branch, instead of merging the default branch from the default remote when "git pull" is run\&. See "branch\&.<name>\&.rebase" for setting this on a per\-branch basis\&.
  8693. .sp
  8694. When
  8695. \fBmerges\fR
  8696. (or just
  8697. \fIm\fR), pass the
  8698. \fB\-\-rebase\-merges\fR
  8699. option to
  8700. \fIgit rebase\fR
  8701. so that the local merge commits are included in the rebase (see
  8702. \fBgit-rebase\fR(1)
  8703. for details)\&.
  8704. .sp
  8705. When the value is
  8706. \fBinteractive\fR
  8707. (or just
  8708. \fIi\fR), the rebase is run in interactive mode\&.
  8709. .sp
  8710. \fBNOTE\fR: this is a possibly dangerous operation; do
  8711. \fBnot\fR
  8712. use it unless you understand the implications (see
  8713. \fBgit-rebase\fR(1)
  8714. for details)\&.
  8715. .RE
  8716. .PP
  8717. pull\&.octopus
  8718. .RS 4
  8719. The default merge strategy to use when pulling multiple branches at once\&.
  8720. .RE
  8721. .PP
  8722. pull\&.twohead
  8723. .RS 4
  8724. The default merge strategy to use when pulling a single branch\&.
  8725. .RE
  8726. .PP
  8727. push\&.autoSetupRemote
  8728. .RS 4
  8729. If set to "true" assume
  8730. \fB\-\-set\-upstream\fR
  8731. on default push when no upstream tracking exists for the current branch; this option takes effect with push\&.default options
  8732. \fIsimple\fR,
  8733. \fIupstream\fR, and
  8734. \fIcurrent\fR\&. It is useful if by default you want new branches to be pushed to the default remote (like the behavior of
  8735. \fIpush\&.default=current\fR) and you also want the upstream tracking to be set\&. Workflows most likely to benefit from this option are
  8736. \fIsimple\fR
  8737. central workflows where all branches are expected to have the same name on the remote\&.
  8738. .RE
  8739. .PP
  8740. push\&.default
  8741. .RS 4
  8742. Defines the action
  8743. \fBgit\fR
  8744. \fBpush\fR
  8745. should take if no refspec is given (whether from the command\-line, config, or elsewhere)\&. Different values are well\-suited for specific workflows; for instance, in a purely central workflow (i\&.e\&. the fetch source is equal to the push destination),
  8746. \fBupstream\fR
  8747. is probably what you want\&. Possible values are:
  8748. .sp
  8749. .RS 4
  8750. .ie n \{\
  8751. \h'-04'\(bu\h'+03'\c
  8752. .\}
  8753. .el \{\
  8754. .sp -1
  8755. .IP \(bu 2.3
  8756. .\}
  8757. \fBnothing\fR
  8758. \- do not push anything (error out) unless a refspec is given\&. This is primarily meant for people who want to avoid mistakes by always being explicit\&.
  8759. .RE
  8760. .sp
  8761. .RS 4
  8762. .ie n \{\
  8763. \h'-04'\(bu\h'+03'\c
  8764. .\}
  8765. .el \{\
  8766. .sp -1
  8767. .IP \(bu 2.3
  8768. .\}
  8769. \fBcurrent\fR
  8770. \- push the current branch to update a branch with the same name on the receiving end\&. Works in both central and non\-central workflows\&.
  8771. .RE
  8772. .sp
  8773. .RS 4
  8774. .ie n \{\
  8775. \h'-04'\(bu\h'+03'\c
  8776. .\}
  8777. .el \{\
  8778. .sp -1
  8779. .IP \(bu 2.3
  8780. .\}
  8781. \fBupstream\fR
  8782. \- push the current branch back to the branch whose changes are usually integrated into the current branch (which is called
  8783. \fB@\fR{upstream})\&. This mode only makes sense if you are pushing to the same repository you would normally pull from (i\&.e\&. central workflow)\&.
  8784. .RE
  8785. .sp
  8786. .RS 4
  8787. .ie n \{\
  8788. \h'-04'\(bu\h'+03'\c
  8789. .\}
  8790. .el \{\
  8791. .sp -1
  8792. .IP \(bu 2.3
  8793. .\}
  8794. \fBtracking\fR
  8795. \- This is a deprecated synonym for
  8796. \fBupstream\fR\&.
  8797. .RE
  8798. .sp
  8799. .RS 4
  8800. .ie n \{\
  8801. \h'-04'\(bu\h'+03'\c
  8802. .\}
  8803. .el \{\
  8804. .sp -1
  8805. .IP \(bu 2.3
  8806. .\}
  8807. \fBsimple\fR
  8808. \- push the current branch with the same name on the remote\&.
  8809. .sp
  8810. If you are working on a centralized workflow (pushing to the same repository you pull from, which is typically
  8811. \fBorigin\fR), then you need to configure an upstream branch with the same name\&.
  8812. .sp
  8813. This mode is the default since Git 2\&.0, and is the safest option suited for beginners\&.
  8814. .RE
  8815. .sp
  8816. .RS 4
  8817. .ie n \{\
  8818. \h'-04'\(bu\h'+03'\c
  8819. .\}
  8820. .el \{\
  8821. .sp -1
  8822. .IP \(bu 2.3
  8823. .\}
  8824. \fBmatching\fR
  8825. \- push all branches having the same name on both ends\&. This makes the repository you are pushing to remember the set of branches that will be pushed out (e\&.g\&. if you always push
  8826. \fImaint\fR
  8827. and
  8828. \fImaster\fR
  8829. there and no other branches, the repository you push to will have these two branches, and your local
  8830. \fImaint\fR
  8831. and
  8832. \fImaster\fR
  8833. will be pushed there)\&.
  8834. .sp
  8835. To use this mode effectively, you have to make sure
  8836. \fIall\fR
  8837. the branches you would push out are ready to be pushed out before running
  8838. \fIgit push\fR, as the whole point of this mode is to allow you to push all of the branches in one go\&. If you usually finish work on only one branch and push out the result, while other branches are unfinished, this mode is not for you\&. Also this mode is not suitable for pushing into a shared central repository, as other people may add new branches there, or update the tip of existing branches outside your control\&.
  8839. .sp
  8840. This used to be the default, but not since Git 2\&.0 (\fBsimple\fR
  8841. is the new default)\&.
  8842. .RE
  8843. .RE
  8844. .PP
  8845. push\&.followTags
  8846. .RS 4
  8847. If set to true, enable
  8848. \fB\-\-follow\-tags\fR
  8849. option by default\&. You may override this configuration at time of push by specifying
  8850. \fB\-\-no\-follow\-tags\fR\&.
  8851. .RE
  8852. .PP
  8853. push\&.gpgSign
  8854. .RS 4
  8855. May be set to a boolean value, or the string
  8856. \fIif\-asked\fR\&. A true value causes all pushes to be GPG signed, as if
  8857. \fB\-\-signed\fR
  8858. is passed to
  8859. \fBgit-push\fR(1)\&. The string
  8860. \fIif\-asked\fR
  8861. causes pushes to be signed if the server supports it, as if
  8862. \fB\-\-signed=if\-asked\fR
  8863. is passed to
  8864. \fIgit push\fR\&. A false value may override a value from a lower\-priority config file\&. An explicit command\-line flag always overrides this config option\&.
  8865. .RE
  8866. .PP
  8867. push\&.pushOption
  8868. .RS 4
  8869. When no
  8870. \fB\-\-push\-option=\fR\fI<option>\fR
  8871. argument is given from the command line,
  8872. \fBgit\fR
  8873. \fBpush\fR
  8874. behaves as if each <value> of this variable is given as
  8875. \fB\-\-push\-option=\fR\fI<value>\fR\&.
  8876. .sp
  8877. This is a multi\-valued variable, and an empty value can be used in a higher priority configuration file (e\&.g\&. \&.\fBgit/config\fR
  8878. in a repository) to clear the values inherited from a lower priority configuration files (e\&.g\&.
  8879. \fB$HOME/\&.gitconfig\fR)\&.
  8880. .sp
  8881. .if n \{\
  8882. .RS 4
  8883. .\}
  8884. .nf
  8885. Example:
  8886. /etc/gitconfig
  8887. push\&.pushoption = a
  8888. push\&.pushoption = b
  8889. ~/\&.gitconfig
  8890. push\&.pushoption = c
  8891. repo/\&.git/config
  8892. push\&.pushoption =
  8893. push\&.pushoption = b
  8894. This will result in only b (a and c are cleared)\&.
  8895. .fi
  8896. .if n \{\
  8897. .RE
  8898. .\}
  8899. .RE
  8900. .PP
  8901. push\&.recurseSubmodules
  8902. .RS 4
  8903. May be "check", "on\-demand", "only", or "no", with the same behavior as that of "push \-\-recurse\-submodules"\&. If not set,
  8904. \fIno\fR
  8905. is used by default, unless
  8906. \fIsubmodule\&.recurse\fR
  8907. is set (in which case a
  8908. \fItrue\fR
  8909. value means
  8910. \fIon\-demand\fR)\&.
  8911. .RE
  8912. .PP
  8913. push\&.useForceIfIncludes
  8914. .RS 4
  8915. If set to "true", it is equivalent to specifying
  8916. \fB\-\-force\-if\-includes\fR
  8917. as an option to
  8918. \fBgit-push\fR(1)
  8919. in the command line\&. Adding
  8920. \fB\-\-no\-force\-if\-includes\fR
  8921. at the time of push overrides this configuration setting\&.
  8922. .RE
  8923. .PP
  8924. push\&.negotiate
  8925. .RS 4
  8926. If set to "true", attempt to reduce the size of the packfile sent by rounds of negotiation in which the client and the server attempt to find commits in common\&. If "false", Git will rely solely on the server\(cqs ref advertisement to find commits in common\&.
  8927. .RE
  8928. .PP
  8929. push\&.useBitmaps
  8930. .RS 4
  8931. If set to "false", disable use of bitmaps for "git push" even if
  8932. \fBpack\&.useBitmaps\fR
  8933. is "true", without preventing other git operations from using bitmaps\&. Default is true\&.
  8934. .RE
  8935. .PP
  8936. rebase\&.backend
  8937. .RS 4
  8938. Default backend to use for rebasing\&. Possible choices are
  8939. \fIapply\fR
  8940. or
  8941. \fImerge\fR\&. In the future, if the merge backend gains all remaining capabilities of the apply backend, this setting may become unused\&.
  8942. .RE
  8943. .PP
  8944. rebase\&.stat
  8945. .RS 4
  8946. Whether to show a diffstat of what changed upstream since the last rebase\&. False by default\&.
  8947. .RE
  8948. .PP
  8949. rebase\&.autoSquash
  8950. .RS 4
  8951. If set to true, enable the
  8952. \fB\-\-autosquash\fR
  8953. option of
  8954. \fBgit-rebase\fR(1)
  8955. by default for interactive mode\&. This can be overridden with the
  8956. \fB\-\-no\-autosquash\fR
  8957. option\&.
  8958. .RE
  8959. .PP
  8960. rebase\&.autoStash
  8961. .RS 4
  8962. When set to true, automatically create a temporary stash entry before the operation begins, and apply it after the operation ends\&. This means that you can run rebase on a dirty worktree\&. However, use with care: the final stash application after a successful rebase might result in non\-trivial conflicts\&. This option can be overridden by the
  8963. \fB\-\-no\-autostash\fR
  8964. and
  8965. \fB\-\-autostash\fR
  8966. options of
  8967. \fBgit-rebase\fR(1)\&. Defaults to false\&.
  8968. .RE
  8969. .PP
  8970. rebase\&.updateRefs
  8971. .RS 4
  8972. If set to true enable
  8973. \fB\-\-update\-refs\fR
  8974. option by default\&.
  8975. .RE
  8976. .PP
  8977. rebase\&.missingCommitsCheck
  8978. .RS 4
  8979. If set to "warn", git rebase \-i will print a warning if some commits are removed (e\&.g\&. a line was deleted), however the rebase will still proceed\&. If set to "error", it will print the previous warning and stop the rebase,
  8980. \fIgit rebase \-\-edit\-todo\fR
  8981. can then be used to correct the error\&. If set to "ignore", no checking is done\&. To drop a commit without warning or error, use the
  8982. \fBdrop\fR
  8983. command in the todo list\&. Defaults to "ignore"\&.
  8984. .RE
  8985. .PP
  8986. rebase\&.instructionFormat
  8987. .RS 4
  8988. A format string, as specified in
  8989. \fBgit-log\fR(1), to be used for the todo list during an interactive rebase\&. The format will automatically have the commit hash prepended to the format\&.
  8990. .RE
  8991. .PP
  8992. rebase\&.abbreviateCommands
  8993. .RS 4
  8994. If set to true,
  8995. \fBgit\fR
  8996. \fBrebase\fR
  8997. will use abbreviated command names in the todo list resulting in something like this:
  8998. .sp
  8999. .if n \{\
  9000. .RS 4
  9001. .\}
  9002. .nf
  9003. p deadbee The oneline of the commit
  9004. p fa1afe1 The oneline of the next commit
  9005. \&.\&.\&.
  9006. .fi
  9007. .if n \{\
  9008. .RE
  9009. .\}
  9010. .sp
  9011. instead of:
  9012. .sp
  9013. .if n \{\
  9014. .RS 4
  9015. .\}
  9016. .nf
  9017. pick deadbee The oneline of the commit
  9018. pick fa1afe1 The oneline of the next commit
  9019. \&.\&.\&.
  9020. .fi
  9021. .if n \{\
  9022. .RE
  9023. .\}
  9024. .sp
  9025. Defaults to false\&.
  9026. .RE
  9027. .PP
  9028. rebase\&.rescheduleFailedExec
  9029. .RS 4
  9030. Automatically reschedule
  9031. \fBexec\fR
  9032. commands that failed\&. This only makes sense in interactive mode (or when an
  9033. \fB\-\-exec\fR
  9034. option was provided)\&. This is the same as specifying the
  9035. \fB\-\-reschedule\-failed\-exec\fR
  9036. option\&.
  9037. .RE
  9038. .PP
  9039. rebase\&.forkPoint
  9040. .RS 4
  9041. If set to false set
  9042. \fB\-\-no\-fork\-point\fR
  9043. option by default\&.
  9044. .RE
  9045. .PP
  9046. rebase\&.rebaseMerges
  9047. .RS 4
  9048. Whether and how to set the
  9049. \fB\-\-rebase\-merges\fR
  9050. option by default\&. Can be
  9051. \fBrebase\-cousins\fR,
  9052. \fBno\-rebase\-cousins\fR, or a boolean\&. Setting to true or to
  9053. \fBno\-rebase\-cousins\fR
  9054. is equivalent to
  9055. \fB\-\-rebase\-merges=no\-rebase\-cousins\fR, setting to
  9056. \fBrebase\-cousins\fR
  9057. is equivalent to
  9058. \fB\-\-rebase\-merges=rebase\-cousins\fR, and setting to false is equivalent to
  9059. \fB\-\-no\-rebase\-merges\fR\&. Passing
  9060. \fB\-\-rebase\-merges\fR
  9061. on the command line, with or without an argument, overrides any
  9062. \fBrebase\&.rebaseMerges\fR
  9063. configuration\&.
  9064. .RE
  9065. .PP
  9066. rebase\&.maxLabelLength
  9067. .RS 4
  9068. When generating label names from commit subjects, truncate the names to this length\&. By default, the names are truncated to a little less than
  9069. \fBNAME_MAX\fR
  9070. (to allow e\&.g\&. \&.\fBlock\fR
  9071. files to be written for the corresponding loose refs)\&.
  9072. .RE
  9073. .PP
  9074. receive\&.advertiseAtomic
  9075. .RS 4
  9076. By default, git\-receive\-pack will advertise the atomic push capability to its clients\&. If you don\(cqt want to advertise this capability, set this variable to false\&.
  9077. .RE
  9078. .PP
  9079. receive\&.advertisePushOptions
  9080. .RS 4
  9081. When set to true, git\-receive\-pack will advertise the push options capability to its clients\&. False by default\&.
  9082. .RE
  9083. .PP
  9084. receive\&.autogc
  9085. .RS 4
  9086. By default, git\-receive\-pack will run "git maintenance run \-\-auto" after receiving data from git\-push and updating refs\&. You can stop it by setting this variable to false\&.
  9087. .RE
  9088. .PP
  9089. receive\&.certNonceSeed
  9090. .RS 4
  9091. By setting this variable to a string,
  9092. \fBgit\fR
  9093. \fBreceive\-pack\fR
  9094. will accept a
  9095. \fBgit\fR
  9096. \fBpush\fR
  9097. \fB\-\-signed\fR
  9098. and verify it by using a "nonce" protected by HMAC using this string as a secret key\&.
  9099. .RE
  9100. .PP
  9101. receive\&.certNonceSlop
  9102. .RS 4
  9103. When a
  9104. \fBgit\fR
  9105. \fBpush\fR
  9106. \fB\-\-signed\fR
  9107. sends a push certificate with a "nonce" that was issued by a receive\-pack serving the same repository within this many seconds, export the "nonce" found in the certificate to
  9108. \fBGIT_PUSH_CERT_NONCE\fR
  9109. to the hooks (instead of what the receive\-pack asked the sending side to include)\&. This may allow writing checks in
  9110. \fBpre\-receive\fR
  9111. and
  9112. \fBpost\-receive\fR
  9113. a bit easier\&. Instead of checking
  9114. \fBGIT_PUSH_CERT_NONCE_SLOP\fR
  9115. environment variable that records by how many seconds the nonce is stale to decide if they want to accept the certificate, they only can check
  9116. \fBGIT_PUSH_CERT_NONCE_STATUS\fR
  9117. is
  9118. \fBOK\fR\&.
  9119. .RE
  9120. .PP
  9121. receive\&.fsckObjects
  9122. .RS 4
  9123. If it is set to true, git\-receive\-pack will check all received objects\&. See
  9124. \fBtransfer\&.fsckObjects\fR
  9125. for what\(cqs checked\&. Defaults to false\&. If not set, the value of
  9126. \fBtransfer\&.fsckObjects\fR
  9127. is used instead\&.
  9128. .RE
  9129. .PP
  9130. receive\&.fsck\&.<msg\-id>
  9131. .RS 4
  9132. Acts like
  9133. \fBfsck\&.\fR\fI<msg\-id>\fR, but is used by
  9134. \fBgit-receive-pack\fR(1)
  9135. instead of
  9136. \fBgit-fsck\fR(1)\&. See the
  9137. \fBfsck\&.\fR\fI<msg\-id>\fR
  9138. documentation for details\&.
  9139. .RE
  9140. .PP
  9141. receive\&.fsck\&.skipList
  9142. .RS 4
  9143. Acts like
  9144. \fBfsck\&.skipList\fR, but is used by
  9145. \fBgit-receive-pack\fR(1)
  9146. instead of
  9147. \fBgit-fsck\fR(1)\&. See the
  9148. \fBfsck\&.skipList\fR
  9149. documentation for details\&.
  9150. .RE
  9151. .PP
  9152. receive\&.keepAlive
  9153. .RS 4
  9154. After receiving the pack from the client,
  9155. \fBreceive\-pack\fR
  9156. may produce no output (if
  9157. \fB\-\-quiet\fR
  9158. was specified) while processing the pack, causing some networks to drop the TCP connection\&. With this option set, if
  9159. \fBreceive\-pack\fR
  9160. does not transmit any data in this phase for
  9161. \fBreceive\&.keepAlive\fR
  9162. seconds, it will send a short keepalive packet\&. The default is 5 seconds; set to 0 to disable keepalives entirely\&.
  9163. .RE
  9164. .PP
  9165. receive\&.unpackLimit
  9166. .RS 4
  9167. If the number of objects received in a push is below this limit then the objects will be unpacked into loose object files\&. However if the number of received objects equals or exceeds this limit then the received pack will be stored as a pack, after adding any missing delta bases\&. Storing the pack from a push can make the push operation complete faster, especially on slow filesystems\&. If not set, the value of
  9168. \fBtransfer\&.unpackLimit\fR
  9169. is used instead\&.
  9170. .RE
  9171. .PP
  9172. receive\&.maxInputSize
  9173. .RS 4
  9174. If the size of the incoming pack stream is larger than this limit, then git\-receive\-pack will error out, instead of accepting the pack file\&. If not set or set to 0, then the size is unlimited\&.
  9175. .RE
  9176. .PP
  9177. receive\&.denyDeletes
  9178. .RS 4
  9179. If set to true, git\-receive\-pack will deny a ref update that deletes the ref\&. Use this to prevent such a ref deletion via a push\&.
  9180. .RE
  9181. .PP
  9182. receive\&.denyDeleteCurrent
  9183. .RS 4
  9184. If set to true, git\-receive\-pack will deny a ref update that deletes the currently checked out branch of a non\-bare repository\&.
  9185. .RE
  9186. .PP
  9187. receive\&.denyCurrentBranch
  9188. .RS 4
  9189. If set to true or "refuse", git\-receive\-pack will deny a ref update to the currently checked out branch of a non\-bare repository\&. Such a push is potentially dangerous because it brings the HEAD out of sync with the index and working tree\&. If set to "warn", print a warning of such a push to stderr, but allow the push to proceed\&. If set to false or "ignore", allow such pushes with no message\&. Defaults to "refuse"\&.
  9190. .sp
  9191. Another option is "updateInstead" which will update the working tree if pushing into the current branch\&. This option is intended for synchronizing working directories when one side is not easily accessible via interactive ssh (e\&.g\&. a live web site, hence the requirement that the working directory be clean)\&. This mode also comes in handy when developing inside a VM to test and fix code on different Operating Systems\&.
  9192. .sp
  9193. By default, "updateInstead" will refuse the push if the working tree or the index have any difference from the HEAD, but the
  9194. \fBpush\-to\-checkout\fR
  9195. hook can be used to customize this\&. See
  9196. \fBgithooks\fR(5)\&.
  9197. .RE
  9198. .PP
  9199. receive\&.denyNonFastForwards
  9200. .RS 4
  9201. If set to true, git\-receive\-pack will deny a ref update which is not a fast\-forward\&. Use this to prevent such an update via a push, even if that push is forced\&. This configuration variable is set when initializing a shared repository\&.
  9202. .RE
  9203. .PP
  9204. receive\&.hideRefs
  9205. .RS 4
  9206. This variable is the same as
  9207. \fBtransfer\&.hideRefs\fR, but applies only to
  9208. \fBreceive\-pack\fR
  9209. (and so affects pushes, but not fetches)\&. An attempt to update or delete a hidden ref by
  9210. \fBgit\fR
  9211. \fBpush\fR
  9212. is rejected\&.
  9213. .RE
  9214. .PP
  9215. receive\&.procReceiveRefs
  9216. .RS 4
  9217. This is a multi\-valued variable that defines reference prefixes to match the commands in
  9218. \fBreceive\-pack\fR\&. Commands matching the prefixes will be executed by an external hook "proc\-receive", instead of the internal
  9219. \fBexecute_commands\fR
  9220. function\&. If this variable is not defined, the "proc\-receive" hook will never be used, and all commands will be executed by the internal
  9221. \fBexecute_commands\fR
  9222. function\&.
  9223. .sp
  9224. For example, if this variable is set to "refs/for", pushing to reference such as "refs/for/master" will not create or update a reference named "refs/for/master", but may create or update a pull request directly by running the hook "proc\-receive"\&.
  9225. .sp
  9226. Optional modifiers can be provided in the beginning of the value to filter commands for specific actions: create (a), modify (m), delete (d)\&. A ! can be included in the modifiers to negate the reference prefix entry\&. E\&.g\&.:
  9227. .sp
  9228. .if n \{\
  9229. .RS 4
  9230. .\}
  9231. .nf
  9232. git config \-\-system \-\-add receive\&.procReceiveRefs ad:refs/heads
  9233. git config \-\-system \-\-add receive\&.procReceiveRefs !:refs/heads
  9234. .fi
  9235. .if n \{\
  9236. .RE
  9237. .\}
  9238. .RE
  9239. .PP
  9240. receive\&.updateServerInfo
  9241. .RS 4
  9242. If set to true, git\-receive\-pack will run git\-update\-server\-info after receiving data from git\-push and updating refs\&.
  9243. .RE
  9244. .PP
  9245. receive\&.shallowUpdate
  9246. .RS 4
  9247. If set to true, \&.git/shallow can be updated when new refs require new shallow roots\&. Otherwise those refs are rejected\&.
  9248. .RE
  9249. .PP
  9250. reftable\&.blockSize
  9251. .RS 4
  9252. The size in bytes used by the reftable backend when writing blocks\&. The block size is determined by the writer, and does not have to be a power of 2\&. The block size must be larger than the longest reference name or log entry used in the repository, as references cannot span blocks\&.
  9253. .sp
  9254. Powers of two that are friendly to the virtual memory system or filesystem (such as 4kB or 8kB) are recommended\&. Larger sizes (64kB) can yield better compression, with a possible increased cost incurred by readers during access\&.
  9255. .sp
  9256. The largest block size is
  9257. \fB16777215\fR
  9258. bytes (15\&.99 MiB)\&. The default value is
  9259. \fB4096\fR
  9260. bytes (4kB)\&. A value of
  9261. \fB0\fR
  9262. will use the default value\&.
  9263. .RE
  9264. .PP
  9265. reftable\&.restartInterval
  9266. .RS 4
  9267. The interval at which to create restart points\&. The reftable backend determines the restart points at file creation\&. Every 16 may be more suitable for smaller block sizes (4k or 8k), every 64 for larger block sizes (64k)\&.
  9268. .sp
  9269. More frequent restart points reduces prefix compression and increases space consumed by the restart table, both of which increase file size\&.
  9270. .sp
  9271. Less frequent restart points makes prefix compression more effective, decreasing overall file size, with increased penalties for readers walking through more records after the binary search step\&.
  9272. .sp
  9273. A maximum of
  9274. \fB65535\fR
  9275. restart points per block is supported\&.
  9276. .sp
  9277. The default value is to create restart points every 16 records\&. A value of
  9278. \fB0\fR
  9279. will use the default value\&.
  9280. .RE
  9281. .PP
  9282. reftable\&.indexObjects
  9283. .RS 4
  9284. Whether the reftable backend shall write object blocks\&. Object blocks are a reverse mapping of object ID to the references pointing to them\&.
  9285. .sp
  9286. The default value is
  9287. \fBtrue\fR\&.
  9288. .RE
  9289. .PP
  9290. reftable\&.geometricFactor
  9291. .RS 4
  9292. Whenever the reftable backend appends a new table to the stack, it performs auto compaction to ensure that there is only a handful of tables\&. The backend does this by ensuring that tables form a geometric sequence regarding the respective sizes of each table\&.
  9293. .sp
  9294. By default, the geometric sequence uses a factor of 2, meaning that for any table, the next\-biggest table must at least be twice as big\&. A maximum factor of 256 is supported\&.
  9295. .RE
  9296. .PP
  9297. reftable\&.lockTimeout
  9298. .RS 4
  9299. Whenever the reftable backend appends a new table to the stack, it has to lock the central "tables\&.list" file before updating it\&. This config controls how long the process will wait to acquire the lock in case another process has already acquired it\&. Value 0 means not to retry at all; \-1 means to try indefinitely\&. Default is 100 (i\&.e\&., retry for 100ms)\&.
  9300. .RE
  9301. .PP
  9302. remote\&.pushDefault
  9303. .RS 4
  9304. The remote to push to by default\&. Overrides
  9305. \fBbranch\&.\fR\fI<name>\fR\fB\&.remote\fR
  9306. for all branches, and is overridden by
  9307. \fBbranch\&.\fR\fI<name>\fR\fB\&.pushRemote\fR
  9308. for specific branches\&.
  9309. .RE
  9310. .PP
  9311. remote\&.<name>\&.url
  9312. .RS 4
  9313. The URL of a remote repository\&. See
  9314. \fBgit-fetch\fR(1)
  9315. or
  9316. \fBgit-push\fR(1)\&. A configured remote can have multiple URLs; in this case the first is used for fetching, and all are used for pushing (assuming no
  9317. \fBremote\&.\fR\fI<name>\fR\fB\&.pushurl\fR
  9318. is defined)\&. Setting this key to the empty string clears the list of urls, allowing you to override earlier config\&.
  9319. .RE
  9320. .PP
  9321. remote\&.<name>\&.pushurl
  9322. .RS 4
  9323. The push URL of a remote repository\&. See
  9324. \fBgit-push\fR(1)\&. If a
  9325. \fBpushurl\fR
  9326. option is present in a configured remote, it is used for pushing instead of
  9327. \fBremote\&.\fR\fI<name>\fR\fB\&.url\fR\&. A configured remote can have multiple push URLs; in this case a push goes to all of them\&. Setting this key to the empty string clears the list of urls, allowing you to override earlier config\&.
  9328. .RE
  9329. .PP
  9330. remote\&.<name>\&.proxy
  9331. .RS 4
  9332. For remotes that require curl (http, https and ftp), the URL to the proxy to use for that remote\&. Set to the empty string to disable proxying for that remote\&.
  9333. .RE
  9334. .PP
  9335. remote\&.<name>\&.proxyAuthMethod
  9336. .RS 4
  9337. For remotes that require curl (http, https and ftp), the method to use for authenticating against the proxy in use (probably set in
  9338. \fBremote\&.\fR\fI<name>\fR\fB\&.proxy\fR)\&. See
  9339. \fBhttp\&.proxyAuthMethod\fR\&.
  9340. .RE
  9341. .PP
  9342. remote\&.<name>\&.fetch
  9343. .RS 4
  9344. The default set of "refspec" for
  9345. \fBgit-fetch\fR(1)\&. See
  9346. \fBgit-fetch\fR(1)\&.
  9347. .RE
  9348. .PP
  9349. remote\&.<name>\&.push
  9350. .RS 4
  9351. The default set of "refspec" for
  9352. \fBgit-push\fR(1)\&. See
  9353. \fBgit-push\fR(1)\&.
  9354. .RE
  9355. .PP
  9356. remote\&.<name>\&.mirror
  9357. .RS 4
  9358. If true, pushing to this remote will automatically behave as if the
  9359. \fB\-\-mirror\fR
  9360. option was given on the command line\&.
  9361. .RE
  9362. .PP
  9363. remote\&.<name>\&.skipDefaultUpdate
  9364. .RS 4
  9365. A deprecated synonym to
  9366. \fBremote\&.\fR\fI<name>\fR\fB\&.skipFetchAll\fR
  9367. (if both are set in the configuration files with different values, the value of the last occurrence will be used)\&.
  9368. .RE
  9369. .PP
  9370. remote\&.<name>\&.skipFetchAll
  9371. .RS 4
  9372. If true, this remote will be skipped when updating using
  9373. \fBgit-fetch\fR(1), the
  9374. \fBupdate\fR
  9375. subcommand of
  9376. \fBgit-remote\fR(1), and ignored by the prefetch task of
  9377. \fBgit\fR
  9378. \fBmaintenance\fR\&.
  9379. .RE
  9380. .PP
  9381. remote\&.<name>\&.receivepack
  9382. .RS 4
  9383. The default program to execute on the remote side when pushing\&. See option \-\-receive\-pack of
  9384. \fBgit-push\fR(1)\&.
  9385. .RE
  9386. .PP
  9387. remote\&.<name>\&.uploadpack
  9388. .RS 4
  9389. The default program to execute on the remote side when fetching\&. See option \-\-upload\-pack of
  9390. \fBgit-fetch-pack\fR(1)\&.
  9391. .RE
  9392. .PP
  9393. remote\&.<name>\&.tagOpt
  9394. .RS 4
  9395. Setting this value to \-\-no\-tags disables automatic tag following when fetching from remote <name>\&. Setting it to \-\-tags will fetch every tag from remote <name>, even if they are not reachable from remote branch heads\&. Passing these flags directly to
  9396. \fBgit-fetch\fR(1)
  9397. can override this setting\&. See options \-\-tags and \-\-no\-tags of
  9398. \fBgit-fetch\fR(1)\&.
  9399. .RE
  9400. .PP
  9401. remote\&.<name>\&.vcs
  9402. .RS 4
  9403. Setting this to a value <vcs> will cause Git to interact with the remote with the git\-remote\-<vcs> helper\&.
  9404. .RE
  9405. .PP
  9406. remote\&.<name>\&.prune
  9407. .RS 4
  9408. When set to true, fetching from this remote by default will also remove any remote\-tracking references that no longer exist on the remote (as if the
  9409. \fB\-\-prune\fR
  9410. option was given on the command line)\&. Overrides
  9411. \fBfetch\&.prune\fR
  9412. settings, if any\&.
  9413. .RE
  9414. .PP
  9415. remote\&.<name>\&.pruneTags
  9416. .RS 4
  9417. When set to true, fetching from this remote by default will also remove any local tags that no longer exist on the remote if pruning is activated in general via
  9418. \fBremote\&.\fR\fI<name>\fR\fB\&.prune\fR,
  9419. \fBfetch\&.prune\fR
  9420. or
  9421. \fB\-\-prune\fR\&. Overrides
  9422. \fBfetch\&.pruneTags\fR
  9423. settings, if any\&.
  9424. .sp
  9425. See also
  9426. \fBremote\&.\fR\fI<name>\fR\fB\&.prune\fR
  9427. and the PRUNING section of
  9428. \fBgit-fetch\fR(1)\&.
  9429. .RE
  9430. .PP
  9431. remote\&.<name>\&.promisor
  9432. .RS 4
  9433. When set to true, this remote will be used to fetch promisor objects\&.
  9434. .RE
  9435. .PP
  9436. remote\&.<name>\&.partialclonefilter
  9437. .RS 4
  9438. The filter that will be applied when fetching from this promisor remote\&. Changing or clearing this value will only affect fetches for new commits\&. To fetch associated objects for commits already present in the local object database, use the
  9439. \fB\-\-refetch\fR
  9440. option of
  9441. \fBgit-fetch\fR(1)\&.
  9442. .RE
  9443. .PP
  9444. remote\&.<name>\&.serverOption
  9445. .RS 4
  9446. The default set of server options used when fetching from this remote\&. These server options can be overridden by the
  9447. \fB\-\-server\-option=\fR
  9448. command line arguments\&.
  9449. .sp
  9450. This is a multi\-valued variable, and an empty value can be used in a higher priority configuration file (e\&.g\&. \&.\fBgit/config\fR
  9451. in a repository) to clear the values inherited from a lower priority configuration files (e\&.g\&.
  9452. \fB$HOME/\&.gitconfig\fR)\&.
  9453. .RE
  9454. .PP
  9455. remote\&.<name>\&.followRemoteHEAD
  9456. .RS 4
  9457. How
  9458. \fBgit-fetch\fR(1)
  9459. should handle updates to
  9460. \fBremotes/\fR\fI<name>\fR\fB/HEAD\fR\&. The default value is "create", which will create
  9461. \fBremotes/\fR\fI<name>\fR\fB/HEAD\fR
  9462. if it exists on the remote, but not locally; this will not touch an already existing local reference\&. Setting it to "warn" will print a message if the remote has a different value than the local one; in case there is no local reference, it behaves like "create"\&. A variant on "warn" is "warn\-if\-not\-$branch", which behaves like "warn", but if
  9463. \fBHEAD\fR
  9464. on the remote is
  9465. \fB$branch\fR
  9466. it will be silent\&. Setting it to "always" will silently update
  9467. \fBremotes/\fR\fI<name>\fR\fB/HEAD\fR
  9468. to the value on the remote\&. Finally, setting it to "never" will never change or create the local reference\&.
  9469. .RE
  9470. .PP
  9471. remotes\&.<group>
  9472. .RS 4
  9473. The list of remotes which are fetched by "git remote update <group>"\&. See
  9474. \fBgit-remote\fR(1)\&.
  9475. .RE
  9476. .PP
  9477. repack\&.useDeltaBaseOffset
  9478. .RS 4
  9479. By default,
  9480. \fBgit-repack\fR(1)
  9481. creates packs that use delta\-base offset\&. If you need to share your repository with Git older than version 1\&.4\&.4, either directly or via a dumb protocol such as http, then you need to set this option to "false" and repack\&. Access from old Git versions over the native protocol are unaffected by this option\&.
  9482. .RE
  9483. .PP
  9484. repack\&.packKeptObjects
  9485. .RS 4
  9486. If set to true, makes
  9487. \fBgit\fR
  9488. \fBrepack\fR
  9489. act as if
  9490. \fB\-\-pack\-kept\-objects\fR
  9491. was passed\&. See
  9492. \fBgit-repack\fR(1)
  9493. for details\&. Defaults to
  9494. \fBfalse\fR
  9495. normally, but
  9496. \fBtrue\fR
  9497. if a bitmap index is being written (either via
  9498. \fB\-\-write\-bitmap\-index\fR
  9499. or
  9500. \fBrepack\&.writeBitmaps\fR)\&.
  9501. .RE
  9502. .PP
  9503. repack\&.useDeltaIslands
  9504. .RS 4
  9505. If set to true, makes
  9506. \fBgit\fR
  9507. \fBrepack\fR
  9508. act as if
  9509. \fB\-\-delta\-islands\fR
  9510. was passed\&. Defaults to
  9511. \fBfalse\fR\&.
  9512. .RE
  9513. .PP
  9514. repack\&.writeBitmaps
  9515. .RS 4
  9516. When true, git will write a bitmap index when packing all objects to disk (e\&.g\&., when
  9517. \fBgit\fR
  9518. \fBrepack\fR
  9519. \fB\-a\fR
  9520. is run)\&. This index can speed up the "counting objects" phase of subsequent packs created for clones and fetches, at the cost of some disk space and extra time spent on the initial repack\&. This has no effect if multiple packfiles are created\&. Defaults to true on bare repos, false otherwise\&.
  9521. .RE
  9522. .PP
  9523. repack\&.updateServerInfo
  9524. .RS 4
  9525. If set to false,
  9526. \fBgit-repack\fR(1)
  9527. will not run
  9528. \fBgit-update-server-info\fR(1)\&. Defaults to true\&. Can be overridden when true by the
  9529. \fB\-n\fR
  9530. option of
  9531. \fBgit-repack\fR(1)\&.
  9532. .RE
  9533. .PP
  9534. repack\&.cruftWindow, repack\&.cruftWindowMemory, repack\&.cruftDepth, repack\&.cruftThreads
  9535. .RS 4
  9536. Parameters used by
  9537. \fBgit-pack-objects\fR(1)
  9538. when generating a cruft pack and the respective parameters are not given over the command line\&. See similarly named
  9539. \fBpack\&.\fR* configuration variables for defaults and meaning\&.
  9540. .RE
  9541. .PP
  9542. rerere\&.autoUpdate
  9543. .RS 4
  9544. When set to true,
  9545. \fBgit\-rerere\fR
  9546. updates the index with the resulting contents after it cleanly resolves conflicts using previously recorded resolutions\&. Defaults to false\&.
  9547. .RE
  9548. .PP
  9549. rerere\&.enabled
  9550. .RS 4
  9551. Activate recording of resolved conflicts, so that identical conflict hunks can be resolved automatically, should they be encountered again\&. By default,
  9552. \fBgit-rerere\fR(1)
  9553. is enabled if there is an
  9554. \fBrr\-cache\fR
  9555. directory under the
  9556. \fB$GIT_DIR\fR, e\&.g\&. if "rerere" was previously used in the repository\&.
  9557. .RE
  9558. .PP
  9559. revert\&.reference
  9560. .RS 4
  9561. Setting this variable to true makes
  9562. \fBgit\fR
  9563. \fBrevert\fR
  9564. behave as if the
  9565. \fB\-\-reference\fR
  9566. option is given\&.
  9567. .RE
  9568. .PP
  9569. safe\&.bareRepository
  9570. .RS 4
  9571. Specifies which bare repositories Git will work with\&. The currently supported values are:
  9572. .sp
  9573. .RS 4
  9574. .ie n \{\
  9575. \h'-04'\(bu\h'+03'\c
  9576. .\}
  9577. .el \{\
  9578. .sp -1
  9579. .IP \(bu 2.3
  9580. .\}
  9581. \fBall\fR: Git works with all bare repositories\&. This is the default\&.
  9582. .RE
  9583. .sp
  9584. .RS 4
  9585. .ie n \{\
  9586. \h'-04'\(bu\h'+03'\c
  9587. .\}
  9588. .el \{\
  9589. .sp -1
  9590. .IP \(bu 2.3
  9591. .\}
  9592. \fBexplicit\fR: Git only works with bare repositories specified via the top\-level
  9593. \fB\-\-git\-dir\fR
  9594. command\-line option, or the
  9595. \fBGIT_DIR\fR
  9596. environment variable (see
  9597. \fBgit\fR(1))\&.
  9598. .sp
  9599. If you do not use bare repositories in your workflow, then it may be beneficial to set
  9600. \fBsafe\&.bareRepository\fR
  9601. to
  9602. \fBexplicit\fR
  9603. in your global config\&. This will protect you from attacks that involve cloning a repository that contains a bare repository and running a Git command within that directory\&.
  9604. .sp
  9605. This config setting is only respected in protected configuration (see
  9606. the section called \(lqSCOPES\(rq)\&. This prevents untrusted repositories from tampering with this value\&.
  9607. .RE
  9608. .RE
  9609. .PP
  9610. safe\&.directory
  9611. .RS 4
  9612. These config entries specify Git\-tracked directories that are considered safe even if they are owned by someone other than the current user\&. By default, Git will refuse to even parse a Git config of a repository owned by someone else, let alone run its hooks, and this config setting allows users to specify exceptions, e\&.g\&. for intentionally shared repositories (see the
  9613. \fB\-\-shared\fR
  9614. option in
  9615. \fBgit-init\fR(1))\&.
  9616. .sp
  9617. This is a multi\-valued setting, i\&.e\&. you can add more than one directory via
  9618. \fBgit\fR
  9619. \fBconfig\fR
  9620. \fB\-\-add\fR\&. To reset the list of safe directories (e\&.g\&. to override any such directories specified in the system config), add a
  9621. \fBsafe\&.directory\fR
  9622. entry with an empty value\&.
  9623. .sp
  9624. This config setting is only respected in protected configuration (see
  9625. the section called \(lqSCOPES\(rq)\&. This prevents untrusted repositories from tampering with this value\&.
  9626. .sp
  9627. The value of this setting is interpolated, i\&.e\&.
  9628. \fB~/\fR\fI<path>\fR
  9629. expands to a path relative to the home directory and %(\fBprefix\fR)\fB/\fR\fI<path>\fR
  9630. expands to a path relative to Git\(cqs (runtime) prefix\&.
  9631. .sp
  9632. To completely opt\-out of this security check, set
  9633. \fBsafe\&.directory\fR
  9634. to the string *\&. This will allow all repositories to be treated as if their directory was listed in the
  9635. \fBsafe\&.directory\fR
  9636. list\&. If
  9637. \fBsafe\&.directory=\fR* is set in system config and you want to re\-enable this protection, then initialize your list with an empty value before listing the repositories that you deem safe\&. Giving a directory with
  9638. \fB/\fR* appended to it will allow access to all repositories under the named directory\&.
  9639. .sp
  9640. As explained, Git only allows you to access repositories owned by yourself, i\&.e\&. the user who is running Git, by default\&. When Git is running as
  9641. \fIroot\fR
  9642. in a non Windows platform that provides sudo, however, git checks the SUDO_UID environment variable that sudo creates and will allow access to the uid recorded as its value in addition to the id from
  9643. \fIroot\fR\&. This is to make it easy to perform a common sequence during installation "make && sudo make install"\&. A git process running under
  9644. \fIsudo\fR
  9645. runs as
  9646. \fIroot\fR
  9647. but the
  9648. \fIsudo\fR
  9649. command exports the environment variable to record which id the original user has\&. If that is not what you would prefer and want git to only trust repositories that are owned by root instead, then you can remove the
  9650. \fBSUDO_UID\fR
  9651. variable from root\(cqs environment before invoking git\&.
  9652. .RE
  9653. .PP
  9654. sendemail\&.identity
  9655. .RS 4
  9656. A configuration identity\&. When given, causes values in the
  9657. \fIsendemail\&.<identity>\fR
  9658. subsection to take precedence over values in the
  9659. \fIsendemail\fR
  9660. section\&. The default identity is the value of
  9661. \fBsendemail\&.identity\fR\&.
  9662. .RE
  9663. .PP
  9664. sendemail\&.smtpEncryption
  9665. .RS 4
  9666. See
  9667. \fBgit-send-email\fR(1)
  9668. for description\&. Note that this setting is not subject to the
  9669. \fIidentity\fR
  9670. mechanism\&.
  9671. .RE
  9672. .PP
  9673. sendemail\&.smtpSSLCertPath
  9674. .RS 4
  9675. Path to ca\-certificates (either a directory or a single file)\&. Set it to an empty string to disable certificate verification\&.
  9676. .RE
  9677. .PP
  9678. sendemail\&.<identity>\&.*
  9679. .RS 4
  9680. Identity\-specific versions of the
  9681. \fIsendemail\&.*\fR
  9682. parameters found below, taking precedence over those when this identity is selected, through either the command\-line or
  9683. \fBsendemail\&.identity\fR\&.
  9684. .RE
  9685. .PP
  9686. sendemail\&.multiEdit
  9687. .RS 4
  9688. If true (default), a single editor instance will be spawned to edit files you have to edit (patches when
  9689. \fB\-\-annotate\fR
  9690. is used, and the summary when
  9691. \fB\-\-compose\fR
  9692. is used)\&. If false, files will be edited one after the other, spawning a new editor each time\&.
  9693. .RE
  9694. .PP
  9695. sendemail\&.confirm
  9696. .RS 4
  9697. Sets the default for whether to confirm before sending\&. Must be one of
  9698. \fIalways\fR,
  9699. \fInever\fR,
  9700. \fIcc\fR,
  9701. \fIcompose\fR, or
  9702. \fIauto\fR\&. See
  9703. \fB\-\-confirm\fR
  9704. in the
  9705. \fBgit-send-email\fR(1)
  9706. documentation for the meaning of these values\&.
  9707. .RE
  9708. .PP
  9709. sendemail\&.mailmap
  9710. .RS 4
  9711. If true, makes
  9712. \fBgit-send-email\fR(1)
  9713. assume
  9714. \fB\-\-mailmap\fR, otherwise assume
  9715. \fB\-\-no\-mailmap\fR\&. False by default\&.
  9716. .RE
  9717. .PP
  9718. sendemail\&.mailmap\&.file
  9719. .RS 4
  9720. The location of a
  9721. \fBgit-send-email\fR(1)
  9722. specific augmenting mailmap file\&. The default mailmap and
  9723. \fBmailmap\&.file\fR
  9724. are loaded first\&. Thus, entries in this file take precedence over entries in the default mailmap locations\&. See
  9725. \fBgitmailmap\fR(5)\&.
  9726. .RE
  9727. .PP
  9728. sendemail\&.mailmap\&.blob
  9729. .RS 4
  9730. Like
  9731. \fBsendemail\&.mailmap\&.file\fR, but consider the value as a reference to a blob in the repository\&. Entries in
  9732. \fBsendemail\&.mailmap\&.file\fR
  9733. take precedence over entries here\&. See
  9734. \fBgitmailmap\fR(5)\&.
  9735. .RE
  9736. .PP
  9737. sendemail\&.aliasesFile
  9738. .RS 4
  9739. To avoid typing long email addresses, point this to one or more email aliases files\&. You must also supply
  9740. \fBsendemail\&.aliasFileType\fR\&.
  9741. .RE
  9742. .PP
  9743. sendemail\&.aliasFileType
  9744. .RS 4
  9745. Format of the file(s) specified in sendemail\&.aliasesFile\&. Must be one of
  9746. \fImutt\fR,
  9747. \fImailrc\fR,
  9748. \fIpine\fR,
  9749. \fIelm\fR,
  9750. \fIgnus\fR, or
  9751. \fIsendmail\fR\&.
  9752. .sp
  9753. What an alias file in each format looks like can be found in the documentation of the email program of the same name\&. The differences and limitations from the standard formats are described below:
  9754. .PP
  9755. sendmail
  9756. .RS 4
  9757. .sp
  9758. .RS 4
  9759. .ie n \{\
  9760. \h'-04'\(bu\h'+03'\c
  9761. .\}
  9762. .el \{\
  9763. .sp -1
  9764. .IP \(bu 2.3
  9765. .\}
  9766. Quoted aliases and quoted addresses are not supported: lines that contain a " symbol are ignored\&.
  9767. .RE
  9768. .sp
  9769. .RS 4
  9770. .ie n \{\
  9771. \h'-04'\(bu\h'+03'\c
  9772. .\}
  9773. .el \{\
  9774. .sp -1
  9775. .IP \(bu 2.3
  9776. .\}
  9777. Redirection to a file (\fB/path/name\fR) or pipe (|\fBcommand\fR) is not supported\&.
  9778. .RE
  9779. .sp
  9780. .RS 4
  9781. .ie n \{\
  9782. \h'-04'\(bu\h'+03'\c
  9783. .\}
  9784. .el \{\
  9785. .sp -1
  9786. .IP \(bu 2.3
  9787. .\}
  9788. File inclusion (\fB:include:\fR
  9789. \fB/path/name\fR) is not supported\&.
  9790. .RE
  9791. .sp
  9792. .RS 4
  9793. .ie n \{\
  9794. \h'-04'\(bu\h'+03'\c
  9795. .\}
  9796. .el \{\
  9797. .sp -1
  9798. .IP \(bu 2.3
  9799. .\}
  9800. Warnings are printed on the standard error output for any explicitly unsupported constructs, and any other lines that are not recognized by the parser\&.
  9801. .RE
  9802. .RE
  9803. .RE
  9804. .PP
  9805. sendemail\&.annotate, sendemail\&.bcc, sendemail\&.cc, sendemail\&.ccCmd, sendemail\&.chainReplyTo, sendemail\&.envelopeSender, sendemail\&.from, sendemail\&.headerCmd, sendemail\&.signedOffByCc, sendemail\&.smtpPass, sendemail\&.suppressCc, sendemail\&.suppressFrom, sendemail\&.to, sendemail\&.toCmd, sendemail\&.smtpDomain, sendemail\&.smtpServer, sendemail\&.smtpServerPort, sendemail\&.smtpServerOption, sendemail\&.smtpUser, sendemail\&.thread, sendemail\&.transferEncoding, sendemail\&.validate, sendemail\&.xmailer
  9806. .RS 4
  9807. These configuration variables all provide a default for
  9808. \fBgit-send-email\fR(1)
  9809. command\-line options\&. See its documentation for details\&.
  9810. .RE
  9811. .PP
  9812. sendemail\&.signedOffCc (deprecated)
  9813. .RS 4
  9814. Deprecated alias for
  9815. \fBsendemail\&.signedOffByCc\fR\&.
  9816. .RE
  9817. .PP
  9818. sendemail\&.smtpBatchSize
  9819. .RS 4
  9820. Number of messages to be sent per connection, after that a relogin will happen\&. If the value is 0 or undefined, send all messages in one connection\&. See also the
  9821. \fB\-\-batch\-size\fR
  9822. option of
  9823. \fBgit-send-email\fR(1)\&.
  9824. .RE
  9825. .PP
  9826. sendemail\&.smtpReloginDelay
  9827. .RS 4
  9828. Seconds to wait before reconnecting to the smtp server\&. See also the
  9829. \fB\-\-relogin\-delay\fR
  9830. option of
  9831. \fBgit-send-email\fR(1)\&.
  9832. .RE
  9833. .PP
  9834. sendemail\&.forbidSendmailVariables
  9835. .RS 4
  9836. To avoid common misconfiguration mistakes,
  9837. \fBgit-send-email\fR(1)
  9838. will abort with a warning if any configuration options for "sendmail" exist\&. Set this variable to bypass the check\&.
  9839. .RE
  9840. .PP
  9841. sequence\&.editor
  9842. .RS 4
  9843. Text editor used by
  9844. \fBgit\fR
  9845. \fBrebase\fR
  9846. \fB\-i\fR
  9847. for editing the rebase instruction file\&. The value is meant to be interpreted by the shell when it is used\&. It can be overridden by the
  9848. \fBGIT_SEQUENCE_EDITOR\fR
  9849. environment variable\&. When not configured, the default commit message editor is used instead\&.
  9850. .RE
  9851. .PP
  9852. showBranch\&.default
  9853. .RS 4
  9854. The default set of branches for
  9855. \fBgit-show-branch\fR(1)\&. See
  9856. \fBgit-show-branch\fR(1)\&.
  9857. .RE
  9858. .PP
  9859. sparse\&.expectFilesOutsideOfPatterns
  9860. .RS 4
  9861. Typically with sparse checkouts, files not matching any sparsity patterns are marked with a SKIP_WORKTREE bit in the index and are missing from the working tree\&. Accordingly, Git will ordinarily check whether files with the SKIP_WORKTREE bit are in fact present in the working tree contrary to expectations\&. If Git finds any, it marks those paths as present by clearing the relevant SKIP_WORKTREE bits\&. This option can be used to tell Git that such present\-despite\-skipped files are expected and to stop checking for them\&.
  9862. .sp
  9863. The default is
  9864. \fBfalse\fR, which allows Git to automatically recover from the list of files in the index and working tree falling out of sync\&.
  9865. .sp
  9866. Set this to
  9867. \fBtrue\fR
  9868. if you are in a setup where some external factor relieves Git of the responsibility for maintaining the consistency between the presence of working tree files and sparsity patterns\&. For example, if you have a Git\-aware virtual file system that has a robust mechanism for keeping the working tree and the sparsity patterns up to date based on access patterns\&.
  9869. .sp
  9870. Regardless of this setting, Git does not check for present\-despite\-skipped files unless sparse checkout is enabled, so this config option has no effect unless
  9871. \fBcore\&.sparseCheckout\fR
  9872. is
  9873. \fBtrue\fR\&.
  9874. .RE
  9875. .PP
  9876. splitIndex\&.maxPercentChange
  9877. .RS 4
  9878. When the split index feature is used, this specifies the percent of entries the split index can contain compared to the total number of entries in both the split index and the shared index before a new shared index is written\&. The value should be between 0 and 100\&. If the value is 0, then a new shared index is always written; if it is 100, a new shared index is never written\&. By default, the value is 20, so a new shared index is written if the number of entries in the split index would be greater than 20 percent of the total number of entries\&. See
  9879. \fBgit-update-index\fR(1)\&.
  9880. .RE
  9881. .PP
  9882. splitIndex\&.sharedIndexExpire
  9883. .RS 4
  9884. When the split index feature is used, shared index files that were not modified since the time this variable specifies will be removed when a new shared index file is created\&. The value "now" expires all entries immediately, and "never" suppresses expiration altogether\&. The default value is "2\&.weeks\&.ago"\&. Note that a shared index file is considered modified (for the purpose of expiration) each time a new split\-index file is either created based on it or read from it\&. See
  9885. \fBgit-update-index\fR(1)\&.
  9886. .RE
  9887. .PP
  9888. ssh\&.variant
  9889. .RS 4
  9890. By default, Git determines the command line arguments to use based on the basename of the configured SSH command (configured using the environment variable
  9891. \fBGIT_SSH\fR
  9892. or
  9893. \fBGIT_SSH_COMMAND\fR
  9894. or the config setting
  9895. \fBcore\&.sshCommand\fR)\&. If the basename is unrecognized, Git will attempt to detect support of OpenSSH options by first invoking the configured SSH command with the
  9896. \fB\-G\fR
  9897. (print configuration) option and will subsequently use OpenSSH options (if that is successful) or no options besides the host and remote command (if it fails)\&.
  9898. .sp
  9899. The config variable
  9900. \fBssh\&.variant\fR
  9901. can be set to override this detection\&. Valid values are
  9902. \fBssh\fR
  9903. (to use OpenSSH options),
  9904. \fBplink\fR,
  9905. \fBputty\fR,
  9906. \fBtortoiseplink\fR,
  9907. \fBsimple\fR
  9908. (no options except the host and remote command)\&. The default auto\-detection can be explicitly requested using the value
  9909. \fBauto\fR\&. Any other value is treated as
  9910. \fBssh\fR\&. This setting can also be overridden via the environment variable
  9911. \fBGIT_SSH_VARIANT\fR\&.
  9912. .sp
  9913. The current command\-line parameters used for each variant are as follows:
  9914. .sp
  9915. .RS 4
  9916. .ie n \{\
  9917. \h'-04'\(bu\h'+03'\c
  9918. .\}
  9919. .el \{\
  9920. .sp -1
  9921. .IP \(bu 2.3
  9922. .\}
  9923. \fBssh\fR
  9924. \- [\-p port] [\-4] [\-6] [\-o option] [username@]host command
  9925. .RE
  9926. .sp
  9927. .RS 4
  9928. .ie n \{\
  9929. \h'-04'\(bu\h'+03'\c
  9930. .\}
  9931. .el \{\
  9932. .sp -1
  9933. .IP \(bu 2.3
  9934. .\}
  9935. \fBsimple\fR
  9936. \- [username@]host command
  9937. .RE
  9938. .sp
  9939. .RS 4
  9940. .ie n \{\
  9941. \h'-04'\(bu\h'+03'\c
  9942. .\}
  9943. .el \{\
  9944. .sp -1
  9945. .IP \(bu 2.3
  9946. .\}
  9947. \fBplink\fR
  9948. or
  9949. \fBputty\fR
  9950. \- [\-P port] [\-4] [\-6] [username@]host command
  9951. .RE
  9952. .sp
  9953. .RS 4
  9954. .ie n \{\
  9955. \h'-04'\(bu\h'+03'\c
  9956. .\}
  9957. .el \{\
  9958. .sp -1
  9959. .IP \(bu 2.3
  9960. .\}
  9961. \fBtortoiseplink\fR
  9962. \- [\-P port] [\-4] [\-6] \-batch [username@]host command
  9963. .RE
  9964. .sp
  9965. Except for the
  9966. \fBsimple\fR
  9967. variant, command\-line parameters are likely to change as git gains new features\&.
  9968. .RE
  9969. .PP
  9970. stash\&.showIncludeUntracked
  9971. .RS 4
  9972. If this is set to true, the
  9973. \fBgit\fR
  9974. \fBstash\fR
  9975. \fBshow\fR
  9976. command will show the untracked files of a stash entry\&. Defaults to false\&. See the description of the
  9977. \fIshow\fR
  9978. command in
  9979. \fBgit-stash\fR(1)\&.
  9980. .RE
  9981. .PP
  9982. stash\&.showPatch
  9983. .RS 4
  9984. If this is set to true, the
  9985. \fBgit\fR
  9986. \fBstash\fR
  9987. \fBshow\fR
  9988. command without an option will show the stash entry in patch form\&. Defaults to false\&. See the description of the
  9989. \fIshow\fR
  9990. command in
  9991. \fBgit-stash\fR(1)\&.
  9992. .RE
  9993. .PP
  9994. stash\&.showStat
  9995. .RS 4
  9996. If this is set to true, the
  9997. \fBgit\fR
  9998. \fBstash\fR
  9999. \fBshow\fR
  10000. command without an option will show a diffstat of the stash entry\&. Defaults to true\&. See the description of the
  10001. \fIshow\fR
  10002. command in
  10003. \fBgit-stash\fR(1)\&.
  10004. .RE
  10005. .PP
  10006. status\&.relativePaths
  10007. .RS 4
  10008. By default,
  10009. \fBgit-status\fR(1)
  10010. shows paths relative to the current directory\&. Setting this variable to
  10011. \fBfalse\fR
  10012. shows paths relative to the repository root (this was the default for Git prior to v1\&.5\&.4)\&.
  10013. .RE
  10014. .PP
  10015. status\&.short
  10016. .RS 4
  10017. Set to true to enable \-\-short by default in
  10018. \fBgit-status\fR(1)\&. The option \-\-no\-short takes precedence over this variable\&.
  10019. .RE
  10020. .PP
  10021. status\&.branch
  10022. .RS 4
  10023. Set to true to enable \-\-branch by default in
  10024. \fBgit-status\fR(1)\&. The option \-\-no\-branch takes precedence over this variable\&.
  10025. .RE
  10026. .PP
  10027. status\&.aheadBehind
  10028. .RS 4
  10029. Set to true to enable
  10030. \fB\-\-ahead\-behind\fR
  10031. and false to enable
  10032. \fB\-\-no\-ahead\-behind\fR
  10033. by default in
  10034. \fBgit-status\fR(1)
  10035. for non\-porcelain status formats\&. Defaults to true\&.
  10036. .RE
  10037. .PP
  10038. status\&.displayCommentPrefix
  10039. .RS 4
  10040. If set to true,
  10041. \fBgit-status\fR(1)
  10042. will insert a comment prefix before each output line (starting with
  10043. \fBcore\&.commentChar\fR, i\&.e\&. # by default)\&. This was the behavior of
  10044. \fBgit-status\fR(1)
  10045. in Git 1\&.8\&.4 and previous\&. Defaults to false\&.
  10046. .RE
  10047. .PP
  10048. status\&.renameLimit
  10049. .RS 4
  10050. The number of files to consider when performing rename detection in
  10051. \fBgit-status\fR(1)
  10052. and
  10053. \fBgit-commit\fR(1)\&. Defaults to the value of diff\&.renameLimit\&.
  10054. .RE
  10055. .PP
  10056. status\&.renames
  10057. .RS 4
  10058. Whether and how Git detects renames in
  10059. \fBgit-status\fR(1)
  10060. and
  10061. \fBgit-commit\fR(1)
  10062. \&. If set to "false", rename detection is disabled\&. If set to "true", basic rename detection is enabled\&. If set to "copies" or "copy", Git will detect copies, as well\&. Defaults to the value of diff\&.renames\&.
  10063. .RE
  10064. .PP
  10065. status\&.showStash
  10066. .RS 4
  10067. If set to true,
  10068. \fBgit-status\fR(1)
  10069. will display the number of entries currently stashed away\&. Defaults to false\&.
  10070. .RE
  10071. .PP
  10072. status\&.showUntrackedFiles
  10073. .RS 4
  10074. By default,
  10075. \fBgit-status\fR(1)
  10076. and
  10077. \fBgit-commit\fR(1)
  10078. show files which are not currently tracked by Git\&. Directories which contain only untracked files, are shown with the directory name only\&. Showing untracked files means that Git needs to lstat() all the files in the whole repository, which might be slow on some systems\&. So, this variable controls how the commands display the untracked files\&. Possible values are:
  10079. .sp
  10080. .RS 4
  10081. .ie n \{\
  10082. \h'-04'\(bu\h'+03'\c
  10083. .\}
  10084. .el \{\
  10085. .sp -1
  10086. .IP \(bu 2.3
  10087. .\}
  10088. \fBno\fR
  10089. \- Show no untracked files\&.
  10090. .RE
  10091. .sp
  10092. .RS 4
  10093. .ie n \{\
  10094. \h'-04'\(bu\h'+03'\c
  10095. .\}
  10096. .el \{\
  10097. .sp -1
  10098. .IP \(bu 2.3
  10099. .\}
  10100. \fBnormal\fR
  10101. \- Show untracked files and directories\&.
  10102. .RE
  10103. .sp
  10104. .RS 4
  10105. .ie n \{\
  10106. \h'-04'\(bu\h'+03'\c
  10107. .\}
  10108. .el \{\
  10109. .sp -1
  10110. .IP \(bu 2.3
  10111. .\}
  10112. \fBall\fR
  10113. \- Show also individual files in untracked directories\&.
  10114. .RE
  10115. .sp
  10116. If this variable is not specified, it defaults to
  10117. \fInormal\fR\&. All usual spellings for Boolean value
  10118. \fBtrue\fR
  10119. are taken as
  10120. \fBnormal\fR
  10121. and
  10122. \fBfalse\fR
  10123. as
  10124. \fBno\fR\&. This variable can be overridden with the \-u|\-\-untracked\-files option of
  10125. \fBgit-status\fR(1)
  10126. and
  10127. \fBgit-commit\fR(1)\&.
  10128. .RE
  10129. .PP
  10130. status\&.submoduleSummary
  10131. .RS 4
  10132. Defaults to false\&. If this is set to a non\-zero number or true (identical to \-1 or an unlimited number), the submodule summary will be enabled and a summary of commits for modified submodules will be shown (see \-\-summary\-limit option of
  10133. \fBgit-submodule\fR(1))\&. Please note that the summary output command will be suppressed for all submodules when
  10134. \fBdiff\&.ignoreSubmodules\fR
  10135. is set to
  10136. \fIall\fR
  10137. or only for those submodules where
  10138. \fBsubmodule\&.\fR\fI<name>\fR\fB\&.ignore=all\fR\&. The only exception to that rule is that status and commit will show staged submodule changes\&. To also view the summary for ignored submodules you can either use the \-\-ignore\-submodules=dirty command\-line option or the
  10139. \fIgit submodule summary\fR
  10140. command, which shows a similar output but does not honor these settings\&.
  10141. .RE
  10142. .PP
  10143. submodule\&.<name>\&.url
  10144. .RS 4
  10145. The URL for a submodule\&. This variable is copied from the \&.gitmodules file to the git config via
  10146. \fIgit submodule init\fR\&. The user can change the configured URL before obtaining the submodule via
  10147. \fIgit submodule update\fR\&. If neither submodule\&.<name>\&.active nor submodule\&.active are set, the presence of this variable is used as a fallback to indicate whether the submodule is of interest to git commands\&. See
  10148. \fBgit-submodule\fR(1)
  10149. and
  10150. \fBgitmodules\fR(5)
  10151. for details\&.
  10152. .RE
  10153. .PP
  10154. submodule\&.<name>\&.update
  10155. .RS 4
  10156. The method by which a submodule is updated by
  10157. \fIgit submodule update\fR, which is the only affected command, others such as
  10158. \fIgit checkout \-\-recurse\-submodules\fR
  10159. are unaffected\&. It exists for historical reasons, when
  10160. \fIgit submodule\fR
  10161. was the only command to interact with submodules; settings like
  10162. \fBsubmodule\&.active\fR
  10163. and
  10164. \fBpull\&.rebase\fR
  10165. are more specific\&. It is populated by
  10166. \fBgit\fR
  10167. \fBsubmodule\fR
  10168. \fBinit\fR
  10169. from the
  10170. \fBgitmodules\fR(5)
  10171. file\&. See description of
  10172. \fIupdate\fR
  10173. command in
  10174. \fBgit-submodule\fR(1)\&.
  10175. .RE
  10176. .PP
  10177. submodule\&.<name>\&.branch
  10178. .RS 4
  10179. The remote branch name for a submodule, used by
  10180. \fBgit\fR
  10181. \fBsubmodule\fR
  10182. \fBupdate\fR
  10183. \fB\-\-remote\fR\&. Set this option to override the value found in the \&.\fBgitmodules\fR
  10184. file\&. See
  10185. \fBgit-submodule\fR(1)
  10186. and
  10187. \fBgitmodules\fR(5)
  10188. for details\&.
  10189. .RE
  10190. .PP
  10191. submodule\&.<name>\&.fetchRecurseSubmodules
  10192. .RS 4
  10193. This option can be used to control recursive fetching of this submodule\&. It can be overridden by using the \-\-[no\-]recurse\-submodules command\-line option to "git fetch" and "git pull"\&. This setting will override that from in the
  10194. \fBgitmodules\fR(5)
  10195. file\&.
  10196. .RE
  10197. .PP
  10198. submodule\&.<name>\&.ignore
  10199. .RS 4
  10200. Defines under what circumstances "git status" and the diff family show a submodule as modified\&. When set to "all", it will never be considered modified (but it will nonetheless show up in the output of status and commit when it has been staged), "dirty" will ignore all changes to the submodule\(cqs work tree and takes only differences between the HEAD of the submodule and the commit recorded in the superproject into account\&. "untracked" will additionally let submodules with modified tracked files in their work tree show up\&. Using "none" (the default when this option is not set) also shows submodules that have untracked files in their work tree as changed\&. This setting overrides any setting made in \&.gitmodules for this submodule, both settings can be overridden on the command line by using the "\-\-ignore\-submodules" option\&. The
  10201. \fIgit submodule\fR
  10202. commands are not affected by this setting\&.
  10203. .RE
  10204. .PP
  10205. submodule\&.<name>\&.active
  10206. .RS 4
  10207. Boolean value indicating if the submodule is of interest to git commands\&. This config option takes precedence over the submodule\&.active config option\&. See
  10208. \fBgitsubmodules\fR(7)
  10209. for details\&.
  10210. .RE
  10211. .PP
  10212. submodule\&.active
  10213. .RS 4
  10214. A repeated field which contains a pathspec used to match against a submodule\(cqs path to determine if the submodule is of interest to git commands\&. See
  10215. \fBgitsubmodules\fR(7)
  10216. for details\&.
  10217. .RE
  10218. .PP
  10219. submodule\&.recurse
  10220. .RS 4
  10221. A boolean indicating if commands should enable the
  10222. \fB\-\-recurse\-submodules\fR
  10223. option by default\&. Defaults to false\&.
  10224. .sp
  10225. When set to true, it can be deactivated via the
  10226. \fB\-\-no\-recurse\-submodules\fR
  10227. option\&. Note that some Git commands lacking this option may call some of the above commands affected by
  10228. \fBsubmodule\&.recurse\fR; for instance
  10229. \fBgit\fR
  10230. \fBremote\fR
  10231. \fBupdate\fR
  10232. will call
  10233. \fBgit\fR
  10234. \fBfetch\fR
  10235. but does not have a
  10236. \fB\-\-no\-recurse\-submodules\fR
  10237. option\&. For these commands a workaround is to temporarily change the configuration value by using
  10238. \fBgit\fR
  10239. \fB\-c\fR
  10240. \fBsubmodule\&.recurse=0\fR\&.
  10241. .sp
  10242. The following list shows the commands that accept
  10243. \fB\-\-recurse\-submodules\fR
  10244. and whether they are supported by this setting\&.
  10245. .sp
  10246. .RS 4
  10247. .ie n \{\
  10248. \h'-04'\(bu\h'+03'\c
  10249. .\}
  10250. .el \{\
  10251. .sp -1
  10252. .IP \(bu 2.3
  10253. .\}
  10254. \fBcheckout\fR,
  10255. \fBfetch\fR,
  10256. \fBgrep\fR,
  10257. \fBpull\fR,
  10258. \fBpush\fR,
  10259. \fBread\-tree\fR,
  10260. \fBreset\fR,
  10261. \fBrestore\fR
  10262. and
  10263. \fBswitch\fR
  10264. are always supported\&.
  10265. .RE
  10266. .sp
  10267. .RS 4
  10268. .ie n \{\
  10269. \h'-04'\(bu\h'+03'\c
  10270. .\}
  10271. .el \{\
  10272. .sp -1
  10273. .IP \(bu 2.3
  10274. .\}
  10275. \fBclone\fR
  10276. and
  10277. \fBls\-files\fR
  10278. are not supported\&.
  10279. .RE
  10280. .sp
  10281. .RS 4
  10282. .ie n \{\
  10283. \h'-04'\(bu\h'+03'\c
  10284. .\}
  10285. .el \{\
  10286. .sp -1
  10287. .IP \(bu 2.3
  10288. .\}
  10289. \fBbranch\fR
  10290. is supported only if
  10291. \fBsubmodule\&.propagateBranches\fR
  10292. is enabled
  10293. .RE
  10294. .RE
  10295. .PP
  10296. submodule\&.propagateBranches
  10297. .RS 4
  10298. [EXPERIMENTAL] A boolean that enables branching support when using
  10299. \fB\-\-recurse\-submodules\fR
  10300. or
  10301. \fBsubmodule\&.recurse=true\fR\&. Enabling this will allow certain commands to accept
  10302. \fB\-\-recurse\-submodules\fR
  10303. and certain commands that already accept
  10304. \fB\-\-recurse\-submodules\fR
  10305. will now consider branches\&. Defaults to false\&.
  10306. .RE
  10307. .PP
  10308. submodule\&.fetchJobs
  10309. .RS 4
  10310. Specifies how many submodules are fetched/cloned at the same time\&. A positive integer allows up to that number of submodules fetched in parallel\&. A value of 0 will give some reasonable default\&. If unset, it defaults to 1\&.
  10311. .RE
  10312. .PP
  10313. submodule\&.alternateLocation
  10314. .RS 4
  10315. Specifies how the submodules obtain alternates when submodules are cloned\&. Possible values are
  10316. \fBno\fR,
  10317. \fBsuperproject\fR\&. By default
  10318. \fBno\fR
  10319. is assumed, which doesn\(cqt add references\&. When the value is set to
  10320. \fBsuperproject\fR
  10321. the submodule to be cloned computes its alternates location relative to the superprojects alternate\&.
  10322. .RE
  10323. .PP
  10324. submodule\&.alternateErrorStrategy
  10325. .RS 4
  10326. Specifies how to treat errors with the alternates for a submodule as computed via
  10327. \fBsubmodule\&.alternateLocation\fR\&. Possible values are
  10328. \fBignore\fR,
  10329. \fBinfo\fR,
  10330. \fBdie\fR\&. Default is
  10331. \fBdie\fR\&. Note that if set to
  10332. \fBignore\fR
  10333. or
  10334. \fBinfo\fR, and if there is an error with the computed alternate, the clone proceeds as if no alternate was specified\&.
  10335. .RE
  10336. .PP
  10337. tag\&.forceSignAnnotated
  10338. .RS 4
  10339. A boolean to specify whether annotated tags created should be GPG signed\&. If
  10340. \fB\-\-annotate\fR
  10341. is specified on the command line, it takes precedence over this option\&.
  10342. .RE
  10343. .PP
  10344. tag\&.sort
  10345. .RS 4
  10346. This variable controls the sort ordering of tags when displayed by
  10347. \fBgit-tag\fR(1)\&. Without the "\-\-sort=<value>" option provided, the value of this variable will be used as the default\&.
  10348. .RE
  10349. .PP
  10350. tag\&.gpgSign
  10351. .RS 4
  10352. A boolean to specify whether all tags should be GPG signed\&. Use of this option when running in an automated script can result in a large number of tags being signed\&. It is therefore convenient to use an agent to avoid typing your gpg passphrase several times\&. Note that this option doesn\(cqt affect tag signing behavior enabled by "\-u <keyid>" or "\-\-local\-user=<keyid>" options\&.
  10353. .RE
  10354. .PP
  10355. tar\&.umask
  10356. .RS 4
  10357. This variable can be used to restrict the permission bits of tar archive entries\&. The default is 0002, which turns off the world write bit\&. The special value "user" indicates that the archiving user\(cqs umask will be used instead\&. See umask(2) and
  10358. \fBgit-archive\fR(1)\&.
  10359. .RE
  10360. .sp
  10361. Trace2 config settings are only read from the system and global config files; repository local and worktree config files and \fB\-c\fR command line arguments are not respected\&.
  10362. .PP
  10363. trace2\&.normalTarget
  10364. .RS 4
  10365. This variable controls the normal target destination\&. It may be overridden by the
  10366. \fBGIT_TRACE2\fR
  10367. environment variable\&. The following table shows possible values\&.
  10368. .RE
  10369. .PP
  10370. trace2\&.perfTarget
  10371. .RS 4
  10372. This variable controls the performance target destination\&. It may be overridden by the
  10373. \fBGIT_TRACE2_PERF\fR
  10374. environment variable\&. The following table shows possible values\&.
  10375. .RE
  10376. .PP
  10377. trace2\&.eventTarget
  10378. .RS 4
  10379. This variable controls the event target destination\&. It may be overridden by the
  10380. \fBGIT_TRACE2_EVENT\fR
  10381. environment variable\&. The following table shows possible values\&.
  10382. .sp
  10383. .RS 4
  10384. .ie n \{\
  10385. \h'-04'\(bu\h'+03'\c
  10386. .\}
  10387. .el \{\
  10388. .sp -1
  10389. .IP \(bu 2.3
  10390. .\}
  10391. \fB0\fR
  10392. or
  10393. \fBfalse\fR
  10394. \- Disables the target\&.
  10395. .RE
  10396. .sp
  10397. .RS 4
  10398. .ie n \{\
  10399. \h'-04'\(bu\h'+03'\c
  10400. .\}
  10401. .el \{\
  10402. .sp -1
  10403. .IP \(bu 2.3
  10404. .\}
  10405. \fB1\fR
  10406. or
  10407. \fBtrue\fR
  10408. \- Writes to
  10409. \fBSTDERR\fR\&.
  10410. .RE
  10411. .sp
  10412. .RS 4
  10413. .ie n \{\
  10414. \h'-04'\(bu\h'+03'\c
  10415. .\}
  10416. .el \{\
  10417. .sp -1
  10418. .IP \(bu 2.3
  10419. .\}
  10420. [\fB2\-9\fR] \- Writes to the already opened file descriptor\&.
  10421. .RE
  10422. .sp
  10423. .RS 4
  10424. .ie n \{\
  10425. \h'-04'\(bu\h'+03'\c
  10426. .\}
  10427. .el \{\
  10428. .sp -1
  10429. .IP \(bu 2.3
  10430. .\}
  10431. \fI<absolute\-pathname>\fR
  10432. \- Writes to the file in append mode\&. If the target already exists and is a directory, the traces will be written to files (one per process) underneath the given directory\&.
  10433. .RE
  10434. .sp
  10435. .RS 4
  10436. .ie n \{\
  10437. \h'-04'\(bu\h'+03'\c
  10438. .\}
  10439. .el \{\
  10440. .sp -1
  10441. .IP \(bu 2.3
  10442. .\}
  10443. \fBaf_unix:\fR[\fI<socket\-type>\fR\fB:\fR]\fI<absolute\-pathname>\fR
  10444. \- Write to a Unix DomainSocket (on platforms that support them)\&. Socket type can be either
  10445. \fBstream\fR
  10446. or
  10447. \fBdgram\fR; if omitted Git will try both\&.
  10448. .RE
  10449. .RE
  10450. .PP
  10451. trace2\&.normalBrief
  10452. .RS 4
  10453. Boolean\&. When true
  10454. \fBtime\fR,
  10455. \fBfilename\fR, and
  10456. \fBline\fR
  10457. fields are omitted from normal output\&. May be overridden by the
  10458. \fBGIT_TRACE2_BRIEF\fR
  10459. environment variable\&. Defaults to false\&.
  10460. .RE
  10461. .PP
  10462. trace2\&.perfBrief
  10463. .RS 4
  10464. Boolean\&. When true
  10465. \fBtime\fR,
  10466. \fBfilename\fR, and
  10467. \fBline\fR
  10468. fields are omitted from PERF output\&. May be overridden by the
  10469. \fBGIT_TRACE2_PERF_BRIEF\fR
  10470. environment variable\&. Defaults to false\&.
  10471. .RE
  10472. .PP
  10473. trace2\&.eventBrief
  10474. .RS 4
  10475. Boolean\&. When true
  10476. \fBtime\fR,
  10477. \fBfilename\fR, and
  10478. \fBline\fR
  10479. fields are omitted from event output\&. May be overridden by the
  10480. \fBGIT_TRACE2_EVENT_BRIEF\fR
  10481. environment variable\&. Defaults to false\&.
  10482. .RE
  10483. .PP
  10484. trace2\&.eventNesting
  10485. .RS 4
  10486. Integer\&. Specifies desired depth of nested regions in the event output\&. Regions deeper than this value will be omitted\&. May be overridden by the
  10487. \fBGIT_TRACE2_EVENT_NESTING\fR
  10488. environment variable\&. Defaults to 2\&.
  10489. .RE
  10490. .PP
  10491. trace2\&.configParams
  10492. .RS 4
  10493. A comma\-separated list of patterns of "important" config settings that should be recorded in the trace2 output\&. For example,
  10494. \fBcore\&.\fR*,remote\&.*\&.\fBurl\fR
  10495. would cause the trace2 output to contain events listing each configured remote\&. May be overridden by the
  10496. \fBGIT_TRACE2_CONFIG_PARAMS\fR
  10497. environment variable\&. Unset by default\&.
  10498. .RE
  10499. .PP
  10500. trace2\&.envVars
  10501. .RS 4
  10502. A comma\-separated list of "important" environment variables that should be recorded in the trace2 output\&. For example,
  10503. \fBGIT_HTTP_USER_AGENT,GIT_CONFIG\fR
  10504. would cause the trace2 output to contain events listing the overrides for HTTP user agent and the location of the Git configuration file (assuming any are set)\&. May be overridden by the
  10505. \fBGIT_TRACE2_ENV_VARS\fR
  10506. environment variable\&. Unset by default\&.
  10507. .RE
  10508. .PP
  10509. trace2\&.destinationDebug
  10510. .RS 4
  10511. Boolean\&. When true Git will print error messages when a trace target destination cannot be opened for writing\&. By default, these errors are suppressed and tracing is silently disabled\&. May be overridden by the
  10512. \fBGIT_TRACE2_DST_DEBUG\fR
  10513. environment variable\&.
  10514. .RE
  10515. .PP
  10516. trace2\&.maxFiles
  10517. .RS 4
  10518. Integer\&. When writing trace files to a target directory, do not write additional traces if doing so would exceed this many files\&. Instead, write a sentinel file that will block further tracing to this directory\&. Defaults to 0, which disables this check\&.
  10519. .RE
  10520. .PP
  10521. trailer\&.separators
  10522. .RS 4
  10523. This option tells which characters are recognized as trailer separators\&. By default only
  10524. \fI:\fR
  10525. is recognized as a trailer separator, except that
  10526. \fI=\fR
  10527. is always accepted on the command line for compatibility with other git commands\&.
  10528. .sp
  10529. The first character given by this option will be the default character used when another separator is not specified in the config for this trailer\&.
  10530. .sp
  10531. For example, if the value for this option is "%=$", then only lines using the format
  10532. \fI<key><sep><value>\fR
  10533. with <sep> containing
  10534. \fI%\fR,
  10535. \fI=\fR
  10536. or
  10537. \fI$\fR
  10538. and then spaces will be considered trailers\&. And
  10539. \fI%\fR
  10540. will be the default separator used, so by default trailers will appear like:
  10541. \fI<key>% <value>\fR
  10542. (one percent sign and one space will appear between the key and the value)\&.
  10543. .RE
  10544. .PP
  10545. trailer\&.where
  10546. .RS 4
  10547. This option tells where a new trailer will be added\&.
  10548. .sp
  10549. This can be
  10550. \fBend\fR, which is the default,
  10551. \fBstart\fR,
  10552. \fBafter\fR
  10553. or
  10554. \fBbefore\fR\&.
  10555. .sp
  10556. If it is
  10557. \fBend\fR, then each new trailer will appear at the end of the existing trailers\&.
  10558. .sp
  10559. If it is
  10560. \fBstart\fR, then each new trailer will appear at the start, instead of the end, of the existing trailers\&.
  10561. .sp
  10562. If it is
  10563. \fBafter\fR, then each new trailer will appear just after the last trailer with the same <key>\&.
  10564. .sp
  10565. If it is
  10566. \fBbefore\fR, then each new trailer will appear just before the first trailer with the same <key>\&.
  10567. .RE
  10568. .PP
  10569. trailer\&.ifexists
  10570. .RS 4
  10571. This option makes it possible to choose what action will be performed when there is already at least one trailer with the same <key> in the input\&.
  10572. .sp
  10573. The valid values for this option are:
  10574. \fBaddIfDifferentNeighbor\fR
  10575. (this is the default),
  10576. \fBaddIfDifferent\fR,
  10577. \fBadd\fR,
  10578. \fBreplace\fR
  10579. or
  10580. \fBdoNothing\fR\&.
  10581. .sp
  10582. With
  10583. \fBaddIfDifferentNeighbor\fR, a new trailer will be added only if no trailer with the same (<key>, <value>) pair is above or below the line where the new trailer will be added\&.
  10584. .sp
  10585. With
  10586. \fBaddIfDifferent\fR, a new trailer will be added only if no trailer with the same (<key>, <value>) pair is already in the input\&.
  10587. .sp
  10588. With
  10589. \fBadd\fR, a new trailer will be added, even if some trailers with the same (<key>, <value>) pair are already in the input\&.
  10590. .sp
  10591. With
  10592. \fBreplace\fR, an existing trailer with the same <key> will be deleted and the new trailer will be added\&. The deleted trailer will be the closest one (with the same <key>) to the place where the new one will be added\&.
  10593. .sp
  10594. With
  10595. \fBdoNothing\fR, nothing will be done; that is no new trailer will be added if there is already one with the same <key> in the input\&.
  10596. .RE
  10597. .PP
  10598. trailer\&.ifmissing
  10599. .RS 4
  10600. This option makes it possible to choose what action will be performed when there is not yet any trailer with the same <key> in the input\&.
  10601. .sp
  10602. The valid values for this option are:
  10603. \fBadd\fR
  10604. (this is the default) and
  10605. \fBdoNothing\fR\&.
  10606. .sp
  10607. With
  10608. \fBadd\fR, a new trailer will be added\&.
  10609. .sp
  10610. With
  10611. \fBdoNothing\fR, nothing will be done\&.
  10612. .RE
  10613. .PP
  10614. trailer\&.<keyAlias>\&.key
  10615. .RS 4
  10616. Defines a <keyAlias> for the <key>\&. The <keyAlias> must be a prefix (case does not matter) of the <key>\&. For example, in
  10617. \fBgit\fR
  10618. \fBconfig\fR
  10619. \fBtrailer\&.ack\&.key\fR
  10620. "Acked\-by" the "Acked\-by" is the <key> and the "ack" is the <keyAlias>\&. This configuration allows the shorter
  10621. \fB\-\-trailer\fR
  10622. "ack:\fB\&.\&.\&.\fR" invocation on the command line using the "ack" <keyAlias> instead of the longer
  10623. \fB\-\-trailer\fR
  10624. "Acked\-by:\fB\&.\&.\&.\fR"\&.
  10625. .sp
  10626. At the end of the <key>, a separator can appear and then some space characters\&. By default the only valid separator is
  10627. \fI:\fR, but this can be changed using the
  10628. \fBtrailer\&.separators\fR
  10629. config variable\&.
  10630. .sp
  10631. If there is a separator in the key, then it overrides the default separator when adding the trailer\&.
  10632. .RE
  10633. .PP
  10634. trailer\&.<keyAlias>\&.where
  10635. .RS 4
  10636. This option takes the same values as the
  10637. \fItrailer\&.where\fR
  10638. configuration variable and it overrides what is specified by that option for trailers with the specified <keyAlias>\&.
  10639. .RE
  10640. .PP
  10641. trailer\&.<keyAlias>\&.ifexists
  10642. .RS 4
  10643. This option takes the same values as the
  10644. \fItrailer\&.ifexists\fR
  10645. configuration variable and it overrides what is specified by that option for trailers with the specified <keyAlias>\&.
  10646. .RE
  10647. .PP
  10648. trailer\&.<keyAlias>\&.ifmissing
  10649. .RS 4
  10650. This option takes the same values as the
  10651. \fItrailer\&.ifmissing\fR
  10652. configuration variable and it overrides what is specified by that option for trailers with the specified <keyAlias>\&.
  10653. .RE
  10654. .PP
  10655. trailer\&.<keyAlias>\&.command
  10656. .RS 4
  10657. Deprecated in favor of
  10658. \fItrailer\&.<keyAlias>\&.cmd\fR\&. This option behaves in the same way as
  10659. \fItrailer\&.<keyAlias>\&.cmd\fR, except that it doesn\(cqt pass anything as argument to the specified command\&. Instead the first occurrence of substring $ARG is replaced by the <value> that would be passed as argument\&.
  10660. .sp
  10661. Note that $ARG in the user\(cqs command is only replaced once and that the original way of replacing $ARG is not safe\&.
  10662. .sp
  10663. When both
  10664. \fItrailer\&.<keyAlias>\&.cmd\fR
  10665. and
  10666. \fItrailer\&.<keyAlias>\&.command\fR
  10667. are given for the same <keyAlias>,
  10668. \fItrailer\&.<keyAlias>\&.cmd\fR
  10669. is used and
  10670. \fItrailer\&.<keyAlias>\&.command\fR
  10671. is ignored\&.
  10672. .RE
  10673. .PP
  10674. trailer\&.<keyAlias>\&.cmd
  10675. .RS 4
  10676. This option can be used to specify a shell command that will be called once to automatically add a trailer with the specified <keyAlias>, and then called each time a
  10677. \fI\-\-trailer <keyAlias>=<value>\fR
  10678. argument is specified to modify the <value> of the trailer that this option would produce\&.
  10679. .sp
  10680. When the specified command is first called to add a trailer with the specified <keyAlias>, the behavior is as if a special
  10681. \fI\-\-trailer <keyAlias>=<value>\fR
  10682. argument was added at the beginning of the "git interpret\-trailers" command, where <value> is taken to be the standard output of the command with any leading and trailing whitespace trimmed off\&.
  10683. .sp
  10684. If some
  10685. \fI\-\-trailer <keyAlias>=<value>\fR
  10686. arguments are also passed on the command line, the command is called again once for each of these arguments with the same <keyAlias>\&. And the <value> part of these arguments, if any, will be passed to the command as its first argument\&. This way the command can produce a <value> computed from the <value> passed in the
  10687. \fI\-\-trailer <keyAlias>=<value>\fR
  10688. argument\&.
  10689. .RE
  10690. .PP
  10691. transfer\&.credentialsInUrl
  10692. .RS 4
  10693. A configured URL can contain plaintext credentials in the form
  10694. \fI<protocol>\fR\fB://\fR\fI<user>\fR\fB:\fR\fI<password>\fR\fB@\fR\fI<domain>\fR\fB/\fR\fI<path>\fR\&. You may want to warn or forbid the use of such configuration (in favor of using
  10695. \fBgit-credential\fR(1))\&. This will be used on
  10696. \fBgit-clone\fR(1),
  10697. \fBgit-fetch\fR(1),
  10698. \fBgit-push\fR(1), and any other direct use of the configured URL\&.
  10699. .sp
  10700. Note that this is currently limited to detecting credentials in
  10701. \fBremote\&.\fR\fI<name>\fR\fB\&.url\fR
  10702. configuration; it won\(cqt detect credentials in
  10703. \fBremote\&.\fR\fI<name>\fR\fB\&.pushurl\fR
  10704. configuration\&.
  10705. .sp
  10706. You might want to enable this to prevent inadvertent credentials exposure, e\&.g\&. because:
  10707. .sp
  10708. .RS 4
  10709. .ie n \{\
  10710. \h'-04'\(bu\h'+03'\c
  10711. .\}
  10712. .el \{\
  10713. .sp -1
  10714. .IP \(bu 2.3
  10715. .\}
  10716. The OS or system where you\(cqre running git may not provide a way or otherwise allow you to configure the permissions of the configuration file where the username and/or password are stored\&.
  10717. .RE
  10718. .sp
  10719. .RS 4
  10720. .ie n \{\
  10721. \h'-04'\(bu\h'+03'\c
  10722. .\}
  10723. .el \{\
  10724. .sp -1
  10725. .IP \(bu 2.3
  10726. .\}
  10727. Even if it does, having such data stored "at rest" might expose you in other ways, e\&.g\&. a backup process might copy the data to another system\&.
  10728. .RE
  10729. .sp
  10730. .RS 4
  10731. .ie n \{\
  10732. \h'-04'\(bu\h'+03'\c
  10733. .\}
  10734. .el \{\
  10735. .sp -1
  10736. .IP \(bu 2.3
  10737. .\}
  10738. The git programs will pass the full URL to one another as arguments on the command\-line, meaning the credentials will be exposed to other unprivileged users on systems that allow them to see the full process list of other users\&. On linux the "hidepid" setting documented in procfs(5) allows for configuring this behavior\&.
  10739. .sp
  10740. If such concerns don\(cqt apply to you then you probably don\(cqt need to be concerned about credentials exposure due to storing sensitive data in git\(cqs configuration files\&. If you do want to use this, set
  10741. \fBtransfer\&.credentialsInUrl\fR
  10742. to one of these values:
  10743. .RE
  10744. .sp
  10745. .RS 4
  10746. .ie n \{\
  10747. \h'-04'\(bu\h'+03'\c
  10748. .\}
  10749. .el \{\
  10750. .sp -1
  10751. .IP \(bu 2.3
  10752. .\}
  10753. \fBallow\fR
  10754. (default): Git will proceed with its activity without warning\&.
  10755. .RE
  10756. .sp
  10757. .RS 4
  10758. .ie n \{\
  10759. \h'-04'\(bu\h'+03'\c
  10760. .\}
  10761. .el \{\
  10762. .sp -1
  10763. .IP \(bu 2.3
  10764. .\}
  10765. \fBwarn\fR: Git will write a warning message to
  10766. \fBstderr\fR
  10767. when parsing a URL with a plaintext credential\&.
  10768. .RE
  10769. .sp
  10770. .RS 4
  10771. .ie n \{\
  10772. \h'-04'\(bu\h'+03'\c
  10773. .\}
  10774. .el \{\
  10775. .sp -1
  10776. .IP \(bu 2.3
  10777. .\}
  10778. \fBdie\fR: Git will write a failure message to
  10779. \fBstderr\fR
  10780. when parsing a URL with a plaintext credential\&.
  10781. .RE
  10782. .RE
  10783. .PP
  10784. transfer\&.fsckObjects
  10785. .RS 4
  10786. When
  10787. \fBfetch\&.fsckObjects\fR
  10788. or
  10789. \fBreceive\&.fsckObjects\fR
  10790. are not set, the value of this variable is used instead\&. Defaults to false\&.
  10791. .sp
  10792. When set, the fetch or receive will abort in the case of a malformed object or a link to a nonexistent object\&. In addition, various other issues are checked for, including legacy issues (see
  10793. \fBfsck\&.\fR\fI<msg\-id>\fR), and potential security issues like the existence of a \&.\fBGIT\fR
  10794. directory or a malicious \&.\fBgitmodules\fR
  10795. file (see the release notes for v2\&.2\&.1 and v2\&.17\&.1 for details)\&. Other sanity and security checks may be added in future releases\&.
  10796. .sp
  10797. On the receiving side, failing fsckObjects will make those objects unreachable, see "QUARANTINE ENVIRONMENT" in
  10798. \fBgit-receive-pack\fR(1)\&. On the fetch side, malformed objects will instead be left unreferenced in the repository\&.
  10799. .sp
  10800. Due to the non\-quarantine nature of the
  10801. \fBfetch\&.fsckObjects\fR
  10802. implementation it cannot be relied upon to leave the object store clean like
  10803. \fBreceive\&.fsckObjects\fR
  10804. can\&.
  10805. .sp
  10806. As objects are unpacked they\(cqre written to the object store, so there can be cases where malicious objects get introduced even though the "fetch" failed, only to have a subsequent "fetch" succeed because only new incoming objects are checked, not those that have already been written to the object store\&. That difference in behavior should not be relied upon\&. In the future, such objects may be quarantined for "fetch" as well\&.
  10807. .sp
  10808. For now, the paranoid need to find some way to emulate the quarantine environment if they\(cqd like the same protection as "push"\&. E\&.g\&. in the case of an internal mirror do the mirroring in two steps, one to fetch the untrusted objects, and then do a second "push" (which will use the quarantine) to another internal repo, and have internal clients consume this pushed\-to repository, or embargo internal fetches and only allow them once a full "fsck" has run (and no new fetches have happened in the meantime)\&.
  10809. .RE
  10810. .PP
  10811. transfer\&.hideRefs
  10812. .RS 4
  10813. String(s)
  10814. \fBreceive\-pack\fR
  10815. and
  10816. \fBupload\-pack\fR
  10817. use to decide which refs to omit from their initial advertisements\&. Use more than one definition to specify multiple prefix strings\&. A ref that is under the hierarchies listed in the value of this variable is excluded, and is hidden when responding to
  10818. \fBgit\fR
  10819. \fBpush\fR
  10820. or
  10821. \fBgit\fR
  10822. \fBfetch\fR\&. See
  10823. \fBreceive\&.hideRefs\fR
  10824. and
  10825. \fBuploadpack\&.hideRefs\fR
  10826. for program\-specific versions of this config\&.
  10827. .sp
  10828. You may also include a ! in front of the ref name to negate the entry, explicitly exposing it, even if an earlier entry marked it as hidden\&. If you have multiple hideRefs values, later entries override earlier ones (and entries in more\-specific config files override less\-specific ones)\&.
  10829. .sp
  10830. If a namespace is in use, the namespace prefix is stripped from each reference before it is matched against
  10831. \fBtransfer\&.hiderefs\fR
  10832. patterns\&. In order to match refs before stripping, add a
  10833. \fB^\fR
  10834. in front of the ref name\&. If you combine ! and
  10835. \fB^\fR, ! must be specified first\&.
  10836. .sp
  10837. For example, if
  10838. \fBrefs/heads/master\fR
  10839. is specified in
  10840. \fBtransfer\&.hideRefs\fR
  10841. and the current namespace is
  10842. \fBfoo\fR, then
  10843. \fBrefs/namespaces/foo/refs/heads/master\fR
  10844. is omitted from the advertisements\&. If
  10845. \fBuploadpack\&.allowRefInWant\fR
  10846. is set,
  10847. \fBupload\-pack\fR
  10848. will treat
  10849. \fBwant\-ref\fR
  10850. \fBrefs/heads/master\fR
  10851. in a protocol v2
  10852. \fBfetch\fR
  10853. command as if
  10854. \fBrefs/namespaces/foo/refs/heads/master\fR
  10855. did not exist\&.
  10856. \fBreceive\-pack\fR, on the other hand, will still advertise the object id the ref is pointing to without mentioning its name (a so\-called "\&.have" line)\&.
  10857. .sp
  10858. Even if you hide refs, a client may still be able to steal the target objects via the techniques described in the "SECURITY" section of the
  10859. \fBgitnamespaces\fR(7)
  10860. man page; it\(cqs best to keep private data in a separate repository\&.
  10861. .RE
  10862. .PP
  10863. transfer\&.unpackLimit
  10864. .RS 4
  10865. When
  10866. \fBfetch\&.unpackLimit\fR
  10867. or
  10868. \fBreceive\&.unpackLimit\fR
  10869. are not set, the value of this variable is used instead\&. The default value is 100\&.
  10870. .RE
  10871. .PP
  10872. transfer\&.advertiseSID
  10873. .RS 4
  10874. Boolean\&. When true, client and server processes will advertise their unique session IDs to their remote counterpart\&. Defaults to false\&.
  10875. .RE
  10876. .PP
  10877. transfer\&.bundleURI
  10878. .RS 4
  10879. When
  10880. \fBtrue\fR, local
  10881. \fBgit\fR
  10882. \fBclone\fR
  10883. commands will request bundle information from the remote server (if advertised) and download bundles before continuing the clone through the Git protocol\&. Defaults to
  10884. \fBfalse\fR\&.
  10885. .RE
  10886. .PP
  10887. transfer\&.advertiseObjectInfo
  10888. .RS 4
  10889. When
  10890. \fBtrue\fR, the
  10891. \fBobject\-info\fR
  10892. capability is advertised by servers\&. Defaults to false\&.
  10893. .RE
  10894. .PP
  10895. uploadarchive\&.allowUnreachable
  10896. .RS 4
  10897. If true, allow clients to use
  10898. \fBgit\fR
  10899. \fBarchive\fR
  10900. \fB\-\-remote\fR
  10901. to request any tree, whether reachable from the ref tips or not\&. See the discussion in the "SECURITY" section of
  10902. \fBgit-upload-archive\fR(1)
  10903. for more details\&. Defaults to
  10904. \fBfalse\fR\&.
  10905. .RE
  10906. .PP
  10907. uploadpack\&.hideRefs
  10908. .RS 4
  10909. This variable is the same as
  10910. \fBtransfer\&.hideRefs\fR, but applies only to
  10911. \fBupload\-pack\fR
  10912. (and so affects only fetches, not pushes)\&. An attempt to fetch a hidden ref by
  10913. \fBgit\fR
  10914. \fBfetch\fR
  10915. will fail\&. See also
  10916. \fBuploadpack\&.allowTipSHA1InWant\fR\&.
  10917. .RE
  10918. .PP
  10919. uploadpack\&.allowTipSHA1InWant
  10920. .RS 4
  10921. When
  10922. \fBuploadpack\&.hideRefs\fR
  10923. is in effect, allow
  10924. \fBupload\-pack\fR
  10925. to accept a fetch request that asks for an object at the tip of a hidden ref (by default, such a request is rejected)\&. See also
  10926. \fBuploadpack\&.hideRefs\fR\&. Even if this is false, a client may be able to steal objects via the techniques described in the "SECURITY" section of the
  10927. \fBgitnamespaces\fR(7)
  10928. man page; it\(cqs best to keep private data in a separate repository\&.
  10929. .RE
  10930. .PP
  10931. uploadpack\&.allowReachableSHA1InWant
  10932. .RS 4
  10933. Allow
  10934. \fBupload\-pack\fR
  10935. to accept a fetch request that asks for an object that is reachable from any ref tip\&. However, note that calculating object reachability is computationally expensive\&. Defaults to
  10936. \fBfalse\fR\&. Even if this is false, a client may be able to steal objects via the techniques described in the "SECURITY" section of the
  10937. \fBgitnamespaces\fR(7)
  10938. man page; it\(cqs best to keep private data in a separate repository\&.
  10939. .RE
  10940. .PP
  10941. uploadpack\&.allowAnySHA1InWant
  10942. .RS 4
  10943. Allow
  10944. \fBupload\-pack\fR
  10945. to accept a fetch request that asks for any object at all\&. It implies
  10946. \fBuploadpack\&.allowTipSHA1InWant\fR
  10947. and
  10948. \fBuploadpack\&.allowReachableSHA1InWant\fR\&. If set to
  10949. \fBtrue\fR
  10950. it will enable both of them, it set to
  10951. \fBfalse\fR
  10952. it will disable both of them\&. By default not set\&.
  10953. .RE
  10954. .PP
  10955. uploadpack\&.keepAlive
  10956. .RS 4
  10957. When
  10958. \fBupload\-pack\fR
  10959. has started
  10960. \fBpack\-objects\fR, there may be a quiet period while
  10961. \fBpack\-objects\fR
  10962. prepares the pack\&. Normally it would output progress information, but if
  10963. \fB\-\-quiet\fR
  10964. was used for the fetch,
  10965. \fBpack\-objects\fR
  10966. will output nothing at all until the pack data begins\&. Some clients and networks may consider the server to be hung and give up\&. Setting this option instructs
  10967. \fBupload\-pack\fR
  10968. to send an empty keepalive packet every
  10969. \fBuploadpack\&.keepAlive\fR
  10970. seconds\&. Setting this option to 0 disables keepalive packets entirely\&. The default is 5 seconds\&.
  10971. .RE
  10972. .PP
  10973. uploadpack\&.packObjectsHook
  10974. .RS 4
  10975. If this option is set, when
  10976. \fBupload\-pack\fR
  10977. would run
  10978. \fBgit\fR
  10979. \fBpack\-objects\fR
  10980. to create a packfile for a client, it will run this shell command instead\&. The
  10981. \fBpack\-objects\fR
  10982. command and arguments it
  10983. \fIwould\fR
  10984. have run (including the
  10985. \fBgit\fR
  10986. \fBpack\-objects\fR
  10987. at the beginning) are appended to the shell command\&. The stdin and stdout of the hook are treated as if
  10988. \fBpack\-objects\fR
  10989. itself was run\&. I\&.e\&.,
  10990. \fBupload\-pack\fR
  10991. will feed input intended for
  10992. \fBpack\-objects\fR
  10993. to the hook, and expects a completed packfile on stdout\&.
  10994. .sp
  10995. Note that this configuration variable is only respected when it is specified in protected configuration (see
  10996. the section called \(lqSCOPES\(rq)\&. This is a safety measure against fetching from untrusted repositories\&.
  10997. .RE
  10998. .PP
  10999. uploadpack\&.allowFilter
  11000. .RS 4
  11001. If this option is set,
  11002. \fBupload\-pack\fR
  11003. will support partial clone and partial fetch object filtering\&.
  11004. .RE
  11005. .PP
  11006. uploadpackfilter\&.allow
  11007. .RS 4
  11008. Provides a default value for unspecified object filters (see: the below configuration variable)\&. If set to
  11009. \fBtrue\fR, this will also enable all filters which get added in the future\&. Defaults to
  11010. \fBtrue\fR\&.
  11011. .RE
  11012. .PP
  11013. uploadpackfilter\&.<filter>\&.allow
  11014. .RS 4
  11015. Explicitly allow or ban the object filter corresponding to
  11016. \fI<filter>\fR, where
  11017. \fI<filter>\fR
  11018. may be one of:
  11019. \fBblob:none\fR,
  11020. \fBblob:limit\fR,
  11021. \fBobject:type\fR,
  11022. \fBtree\fR,
  11023. \fBsparse:oid\fR, or
  11024. \fBcombine\fR\&. If using combined filters, both
  11025. \fBcombine\fR
  11026. and all of the nested filter kinds must be allowed\&. Defaults to
  11027. \fBuploadpackfilter\&.allow\fR\&.
  11028. .RE
  11029. .PP
  11030. uploadpackfilter\&.tree\&.maxDepth
  11031. .RS 4
  11032. Only allow
  11033. \fB\-\-filter=tree:\fR\fI<n>\fR
  11034. when
  11035. \fI<n>\fR
  11036. is no more than the value of
  11037. \fBuploadpackfilter\&.tree\&.maxDepth\fR\&. If set, this also implies
  11038. \fBuploadpackfilter\&.tree\&.allow=true\fR, unless this configuration variable had already been set\&. Has no effect if unset\&.
  11039. .RE
  11040. .PP
  11041. uploadpack\&.allowRefInWant
  11042. .RS 4
  11043. If this option is set,
  11044. \fBupload\-pack\fR
  11045. will support the
  11046. \fBref\-in\-want\fR
  11047. feature of the protocol version 2
  11048. \fBfetch\fR
  11049. command\&. This feature is intended for the benefit of load\-balanced servers which may not have the same view of what OIDs their refs point to due to replication delay\&.
  11050. .RE
  11051. .PP
  11052. url\&.<base>\&.insteadOf
  11053. .RS 4
  11054. Any URL that starts with this value will be rewritten to start, instead, with <base>\&. In cases where some site serves a large number of repositories, and serves them with multiple access methods, and some users need to use different access methods, this feature allows people to specify any of the equivalent URLs and have Git automatically rewrite the URL to the best alternative for the particular user, even for a never\-before\-seen repository on the site\&. When more than one insteadOf strings match a given URL, the longest match is used\&.
  11055. .sp
  11056. Note that any protocol restrictions will be applied to the rewritten URL\&. If the rewrite changes the URL to use a custom protocol or remote helper, you may need to adjust the
  11057. \fBprotocol\&.\fR*\&.\fBallow\fR
  11058. config to permit the request\&. In particular, protocols you expect to use for submodules must be set to
  11059. \fBalways\fR
  11060. rather than the default of
  11061. \fBuser\fR\&. See the description of
  11062. \fBprotocol\&.allow\fR
  11063. above\&.
  11064. .RE
  11065. .PP
  11066. url\&.<base>\&.pushInsteadOf
  11067. .RS 4
  11068. Any URL that starts with this value will not be pushed to; instead, it will be rewritten to start with <base>, and the resulting URL will be pushed to\&. In cases where some site serves a large number of repositories, and serves them with multiple access methods, some of which do not allow push, this feature allows people to specify a pull\-only URL and have Git automatically use an appropriate URL to push, even for a never\-before\-seen repository on the site\&. When more than one pushInsteadOf strings match a given URL, the longest match is used\&. If a remote has an explicit pushurl, Git will ignore this setting for that remote\&.
  11069. .RE
  11070. .PP
  11071. user\&.name, user\&.email, author\&.name, author\&.email, committer\&.name, committer\&.email
  11072. .RS 4
  11073. The
  11074. \fBuser\&.name\fR
  11075. and
  11076. \fBuser\&.email\fR
  11077. variables determine what ends up in the
  11078. \fBauthor\fR
  11079. and
  11080. \fBcommitter\fR
  11081. fields of commit objects\&. If you need the
  11082. \fBauthor\fR
  11083. or
  11084. \fBcommitter\fR
  11085. to be different, the
  11086. \fBauthor\&.name\fR,
  11087. \fBauthor\&.email\fR,
  11088. \fBcommitter\&.name\fR, or
  11089. \fBcommitter\&.email\fR
  11090. variables can be set\&. All of these can be overridden by the
  11091. \fBGIT_AUTHOR_NAME\fR,
  11092. \fBGIT_AUTHOR_EMAIL\fR,
  11093. \fBGIT_COMMITTER_NAME\fR,
  11094. \fBGIT_COMMITTER_EMAIL\fR, and
  11095. \fBEMAIL\fR
  11096. environment variables\&.
  11097. .sp
  11098. Note that the
  11099. \fBname\fR
  11100. forms of these variables conventionally refer to some form of a personal name\&. See
  11101. \fBgit-commit\fR(1)
  11102. and the environment variables section of
  11103. \fBgit\fR(1)
  11104. for more information on these settings and the
  11105. \fBcredential\&.username\fR
  11106. option if you\(cqre looking for authentication credentials instead\&.
  11107. .RE
  11108. .PP
  11109. user\&.useConfigOnly
  11110. .RS 4
  11111. Instruct Git to avoid trying to guess defaults for
  11112. \fBuser\&.email\fR
  11113. and
  11114. \fBuser\&.name\fR, and instead retrieve the values only from the configuration\&. For example, if you have multiple email addresses and would like to use a different one for each repository, then with this configuration option set to
  11115. \fBtrue\fR
  11116. in the global config along with a name, Git will prompt you to set up an email before making new commits in a newly cloned repository\&. Defaults to
  11117. \fBfalse\fR\&.
  11118. .RE
  11119. .PP
  11120. user\&.signingKey
  11121. .RS 4
  11122. If
  11123. \fBgit-tag\fR(1)
  11124. or
  11125. \fBgit-commit\fR(1)
  11126. is not selecting the key you want it to automatically when creating a signed tag or commit, you can override the default selection with this variable\&. This option is passed unchanged to gpg\(cqs \-\-local\-user parameter, so you may specify a key using any method that gpg supports\&. If gpg\&.format is set to
  11127. \fBssh\fR
  11128. this can contain the path to either your private ssh key or the public key when ssh\-agent is used\&. Alternatively it can contain a public key prefixed with
  11129. \fBkey::\fR
  11130. directly (e\&.g\&.: "key::ssh\-rsa XXXXXX identifier")\&. The private key needs to be available via ssh\-agent\&. If not set Git will call gpg\&.ssh\&.defaultKeyCommand (e\&.g\&.: "ssh\-add \-L") and try to use the first key available\&. For backward compatibility, a raw key which begins with "ssh\-", such as "ssh\-rsa XXXXXX identifier", is treated as "key::ssh\-rsa XXXXXX identifier", but this form is deprecated; use the
  11131. \fBkey::\fR
  11132. form instead\&.
  11133. .RE
  11134. .PP
  11135. versionsort\&.prereleaseSuffix (deprecated)
  11136. .RS 4
  11137. Deprecated alias for
  11138. \fBversionsort\&.suffix\fR\&. Ignored if
  11139. \fBversionsort\&.suffix\fR
  11140. is set\&.
  11141. .RE
  11142. .PP
  11143. versionsort\&.suffix
  11144. .RS 4
  11145. Even when version sort is used in
  11146. \fBgit-tag\fR(1), tagnames with the same base version but different suffixes are still sorted lexicographically, resulting e\&.g\&. in prerelease tags appearing after the main release (e\&.g\&. "1\&.0\-rc1" after "1\&.0")\&. This variable can be specified to determine the sorting order of tags with different suffixes\&.
  11147. .sp
  11148. By specifying a single suffix in this variable, any tagname containing that suffix will appear before the corresponding main release\&. E\&.g\&. if the variable is set to "\-rc", then all "1\&.0\-rcX" tags will appear before "1\&.0"\&. If specified multiple times, once per suffix, then the order of suffixes in the configuration will determine the sorting order of tagnames with those suffixes\&. E\&.g\&. if "\-pre" appears before "\-rc" in the configuration, then all "1\&.0\-preX" tags will be listed before any "1\&.0\-rcX" tags\&. The placement of the main release tag relative to tags with various suffixes can be determined by specifying the empty suffix among those other suffixes\&. E\&.g\&. if the suffixes "\-rc", "", "\-ck", and "\-bfs" appear in the configuration in this order, then all "v4\&.8\-rcX" tags are listed first, followed by "v4\&.8", then "v4\&.8\-ckX" and finally "v4\&.8\-bfsX"\&.
  11149. .sp
  11150. If more than one suffix matches the same tagname, then that tagname will be sorted according to the suffix which starts at the earliest position in the tagname\&. If more than one different matching suffix starts at that earliest position, then that tagname will be sorted according to the longest of those suffixes\&. The sorting order between different suffixes is undefined if they are in multiple config files\&.
  11151. .RE
  11152. .PP
  11153. web\&.browser
  11154. .RS 4
  11155. Specify a web browser that may be used by some commands\&. Currently only
  11156. \fBgit-instaweb\fR(1)
  11157. and
  11158. \fBgit-help\fR(1)
  11159. may use it\&.
  11160. .RE
  11161. .PP
  11162. worktree\&.guessRemote
  11163. .RS 4
  11164. If no branch is specified and neither
  11165. \fB\-b\fR
  11166. nor
  11167. \fB\-B\fR
  11168. nor
  11169. \fB\-\-detach\fR
  11170. is used, then
  11171. \fBgit\fR
  11172. \fBworktree\fR
  11173. \fBadd\fR
  11174. defaults to creating a new branch from HEAD\&. If
  11175. \fBworktree\&.guessRemote\fR
  11176. is set to true,
  11177. \fBworktree\fR
  11178. \fBadd\fR
  11179. tries to find a remote\-tracking branch whose name uniquely matches the new branch name\&. If such a branch exists, it is checked out and set as "upstream" for the new branch\&. If no such match can be found, it falls back to creating a new branch from the current HEAD\&.
  11180. .RE
  11181. .PP
  11182. worktree\&.useRelativePaths
  11183. .RS 4
  11184. Link worktrees using relative paths (when "true") or absolute paths (when "false")\&. This is particularly useful for setups where the repository and worktrees may be moved between different locations or environments\&. Defaults to "false"\&.
  11185. .sp
  11186. Note that setting
  11187. \fBworktree\&.useRelativePaths\fR
  11188. to "true" implies enabling the
  11189. \fBextension\&.relativeWorktrees\fR
  11190. config (see
  11191. \fBgit-config\fR(1)), thus making it incompatible with older versions of Git\&.
  11192. .RE
  11193. .SH "BUGS"
  11194. .sp
  11195. When using the deprecated [\fBsection\&.subsection\fR] syntax, changing a value will result in adding a multi\-line key instead of a change, if the subsection is given with at least one uppercase character\&. For example when the config looks like
  11196. .sp
  11197. .if n \{\
  11198. .RS 4
  11199. .\}
  11200. .nf
  11201. [section\&.subsection]
  11202. key = value1
  11203. .fi
  11204. .if n \{\
  11205. .RE
  11206. .\}
  11207. .sp
  11208. and running \fBgit\fR \fBconfig\fR \fBsection\&.Subsection\&.key\fR \fBvalue2\fR will result in
  11209. .sp
  11210. .if n \{\
  11211. .RS 4
  11212. .\}
  11213. .nf
  11214. [section\&.subsection]
  11215. key = value1
  11216. key = value2
  11217. .fi
  11218. .if n \{\
  11219. .RE
  11220. .\}
  11221. .SH "GIT"
  11222. .sp
  11223. Part of the \fBgit\fR(1) suite
  11224. .SH "NOTES"
  11225. .IP " 1." 4
  11226. the bundle URI design document
  11227. .RS 4
  11228. \%git-htmldocs/technical/bundle-uri.html
  11229. .RE