跳转到主要内容

章节Git 官方 man

Config

95 页更新于 11 小时前

开始阅读

本章内容95

  1. 01 add add.ignoreErrors add.ignore-errors (deprecated) Tells git add to continue adding files when some files ca... 11 小时前
  2. 02 advice advice.* These variables control various optional help messages designed to aid new users. When left unconf... 11 小时前
  3. 03 alias alias.* alias.*.command Command aliases for the linkgit:git[1] command wrapper. Aliases can be defined usin... 11 小时前
  4. 04 am am.keepcr If true, linkgit:git-am[1] will call linkgit:git-mailsplit[1] for patches in mbox format with par... 11 小时前
  5. 05 apply apply.ignoreWhitespace When set to change, tells git apply to ignore changes in whitespace, in the same ... 11 小时前
  6. 06 attr attr.tree A reference to a tree in the repository from which to read attributes, instead of the .gitattrib... 11 小时前
  7. 07 bitmap-pseudo-merge [!NOTE] The configuration options in bitmapPseudoMerge.* are considered EXPERIMENTAL and may be subject to... 11 小时前
  8. 08 blame blame.blankBoundary Show blank commit object name for boundary commits in linkgit:git-blame[1]. This option... 11 小时前
  9. 09 branch branch.autoSetupMerge Tells git branch, git switch and git checkout to set up new branches so that li... 11 小时前
  10. 10 browser browser.<tool>.cmd Specify the command to invoke the specified browser. The specified command is evaluated ... 11 小时前
  11. 11 bundle bundle.* The bundle.* keys may appear in a bundle list file found via the git clone --bundle-uri option... 11 小时前
  12. 12 checkout checkout.defaultRemote When you run git checkout <something> or git switch <something> and only have ... 11 小时前
  13. 13 clean clean.requireForce A boolean to make git-clean refuse to delete files unless -f is given. Defaults to true. 11 小时前
  14. 14 clone clone.defaultRemoteName The name of the remote to create when cloning a repository. Defaults to origin. if... 11 小时前
  15. 15 color color.advice A boolean to enable/disable color in hints (e.g. when a push failed, see advice.* for a list)... 11 小时前
  16. 16 column column.ui Specify whether supported commands should output in columns. This variable consists of a list of ... 11 小时前
  17. 17 commit ifdef::git-commit[] :see-git-commit: endif::git-commit[] ifndef::git-commit[] :see-git-commit: See linkgit:... 11 小时前
  18. 18 commitgraph commitGraph.generationVersion Specifies the type of generation number version to use when writing or readin... 11 小时前
  19. 19 completion completion.commands This is only used by git-completion.bash to add or remove commands from the list of com... 11 小时前
  20. 20 core core.fileMode Tells Git if the executable bit of files in the working tree is to be honored. Some filesyste... 11 小时前
  21. 21 credential credential.helper Specify an external helper to be called when a username or password credential is needed;... 11 小时前
  22. 22 diff diff.autoRefreshIndex When using git diff to compare with work tree files, do not consider stat-only chan... 11 小时前
  23. 23 extensions extensions.* Unless otherwise stated, is an error to specify an extension if core.repositoryFormatVersion ... 11 小时前
  24. 24 fastimport fastimport.unpackLimit If the number of objects imported by linkgit:git-fast-import[1] is below this limit,... 11 小时前
  25. 25 feature feature.* The config settings that start with feature. modify the defaults of a group of other config sett... 11 小时前
  26. 26 fetch fetch.recurseSubmodules This option controls whether git fetch (and the underlying fetch in git pull) w... 11 小时前
  27. 27 filter filter.<driver>.clean The command which is used to convert the content of a worktree file to a blob upon ch... 11 小时前
  28. 28 fmt-merge-msg merge.branchdesc In addition to branch names, populate the log message with the branch description text ass... 11 小时前
  29. 29 format format.attach Enable multipart/mixed attachments as the default for ’format-patch’. The value can also be a... 11 小时前
  30. 30 fsck fsck.<msg-id> During fsck git may find issues with legacy data which wouldn’t be generated by current versi... 11 小时前
  31. 31 fsmonitor--daemon fsmonitor.allowRemote By default, the fsmonitor daemon refuses to work with network-mounted repositories. S... 11 小时前
  32. 32 gc gc.aggressiveDepth The depth parameter used in the delta compression algorithm used by ’git gc --aggressive... 11 小时前
  33. 33 gitcvs gitcvs.commitMsgAnnotation Append this string to each commit message. Set to empty string to disable this f... 11 小时前
  34. 34 gitweb gitweb.category gitweb.description gitweb.owner gitweb.url See linkgit:gitweb[1] for description. gitweb.av... 11 小时前
  35. 35 gpg gpg.program Pathname of the program to use instead of “gpg” when making or verifying a PGP signature. The p... 11 小时前
  36. 36 grep grep.lineNumber If set to true, enable -n option by default. grep.column If set to true, enable the --c... 11 小时前
  37. 37 gui gui.commitMsgWidth Defines how wide the commit message window is in the linkgit:git-gui[1]. "75" is the def... 11 小时前
  38. 38 guitool guitool.<name>.cmd Specifies the shell command line to execute when the corresponding item of the linkgit:g... 11 小时前
  39. 39 help help.browser Specify the browser that will be used to display help in the ’web’ format. See linkgit:git-hel... 11 小时前
  40. 40 hook ifdef::git-hook[] :see-git-hook: endif::git-hook[] ifndef::git-hook[] :see-git-hook: See linkgit:git-hook[1... 11 小时前
  41. 41 http http.proxy Override the HTTP proxy, normally configured using the ’http_proxy’, ’https_proxy’, and ’all_pro... 11 小时前
  42. 42 i18n i18n.commitEncoding Character encoding the commit messages are stored in; Git itself does not care per se, ... 11 小时前
  43. 43 imap imap.folder The folder to drop the mails into, which is typically the Drafts folder. For example: INBOX.Dr... 11 小时前
  44. 44 includeif include.path includeIf.<condition>.path Special variables to include other configuration files. See the "CO... 11 小时前
  45. 45 index index.recordEndOfIndexEntries Specifies whether the index file should include an "End Of Index Entry" secti... 11 小时前
  46. 46 init ifndef::git-init[] :see-git-init: (See the "TEMPLATE DIRECTORY" section of linkgit:git-init[1].) endif::[] ... 11 小时前
  47. 47 instaweb instaweb.browser Specify the program that will be used to browse your working repository in gitweb. See lin... 11 小时前
  48. 48 interactive interactive.singleKey When set to true, allow the user to provide one-letter input with a single key (i.e.,... 11 小时前
  49. 49 log log.abbrevCommit If true, make ifndef::with-breaking-changes[] linkgit:git-log[1], linkgit:git-show[1], an... 11 小时前
  50. 50 lsrefs lsrefs.unborn May be "advertise" (the default), "allow", or "ignore". If "advertise", the server will respo... 11 小时前
  51. 51 mailinfo mailinfo.scissors If true, makes linkgit:git-mailinfo[1] (and therefore linkgit:git-am[1]) act by default a... 11 小时前
  52. 52 mailmap mailmap.file The location of an augmenting mailmap file. The default mailmap, located in the root of the re... 11 小时前
  53. 53 maintenance maintenance.auto This boolean config option controls whether some commands run git maintenance run --au... 11 小时前
  54. 54 man man.viewer Specify the programs that may be used to display help in the ’man’ format. See linkgit:git-help[... 11 小时前
  55. 55 mergetool mergetool.<tool>.path Override the path for the given tool. This is useful in case your tool is not in the ... 11 小时前
  56. 56 notes notes.mergeStrategy Which merge strategy to choose by default when resolving notes conflicts. Must be one o... 11 小时前
  57. 57 pack pack.window The size of the window used by linkgit:git-pack-objects[1] when no window size is given on the ... 11 小时前
  58. 58 pager pager.<cmd> If the value is boolean, turns on or off pagination of the output of a particular Git subcomman... 11 小时前
  59. 59 pretty pretty.<name> Alias for a --pretty= format string, as specified in linkgit:git-log[1]. Any aliases defined ... 11 小时前
  60. 60 promisor promisor.quiet If set to "true" assume --quiet when fetching additional objects for a partial clone. promi... 11 小时前
  61. 61 protocol protocol.allow If set, provide a user defined default policy for all protocols which don’t explicitly have ... 11 小时前
  62. 62 pull pull.ff By default, Git does not create an extra merge commit when merging a commit that is a descendant of... 11 小时前
  63. 63 push push.autoSetupRemote If set to true assume --set-upstream on default push when no upstream tracking exist... 11 小时前
  64. 64 rebase rebase.backend Default backend to use for rebasing. Possible choices are ’apply’ or ’merge’. In the future,... 11 小时前
  65. 65 receive receive.advertiseAtomic By default, git-receive-pack will advertise the atomic push capability to its clien... 11 小时前
  66. 66 reftable reftable.blockSize The size in bytes used by the reftable backend when writing blocks. The block size is de... 11 小时前
  67. 67 remote remote.pushDefault The remote to push to by default. Overrides branch.<name>.remote for all branches, and ... 11 小时前
  68. 68 remotes remotes.<group> The list of remotes which are fetched by "git remote update <group>". See linkgit:git-remot... 11 小时前
  69. 69 repack repack.useDeltaBaseOffset By default, linkgit:git-repack[1] creates packs that use delta-base offset. If yo... 11 小时前
  70. 70 replay replay.refAction Specifies the default mode for handling reference updates. The value can be: update;; (def... 11 小时前
  71. 71 rerere rerere.autoUpdate When set to true, git-rerere updates the index with the resulting contents after it clea... 11 小时前
  72. 72 revert revert.reference Setting this variable to true makes git revert behave as if the --reference option is g... 11 小时前
  73. 73 safe safe.bareRepository Specifies which bare repositories Git will work with. The currently supported values ar... 11 小时前
  74. 74 sendemail sendemail.identity A configuration identity. When given, causes values in the sendemail.<identity> subsect... 11 小时前
  75. 75 sequencer sequence.editor Text editor used by git rebase -i for editing the rebase instruction file. The value is ... 11 小时前
  76. 76 showbranch showBranch.default The default set of branches for linkgit:git-show-branch[1]. See linkgit:git-show-branch[1]. 11 小时前
  77. 77 sideband sideband.allowControlCharacters By default, control characters that are delivered via the sideband are mask... 11 小时前
  78. 78 sparse sparse.expectFilesOutsideOfPatterns Typically with sparse checkouts, files not matching any sparsity patter... 11 小时前
  79. 79 splitindex splitIndex.maxPercentChange When the split index feature is used, this specifies the percent of entries the... 11 小时前
  80. 80 ssh ssh.variant By default, Git determines the command line arguments to use based on the basename of the confi... 11 小时前
  81. 81 stash ifndef::git-stash[] :see-show: See the description of the ’show’ command in linkgit:git-stash[1]. endif::gi... 11 小时前
  82. 82 status status.relativePaths By default, linkgit:git-status[1] shows paths relative to the current directory. Setti... 11 小时前
  83. 83 submodule submodule.<name>.url The URL for a submodule. This variable is copied from the .gitmodules file to the git ... 11 小时前
  84. 84 tag tag.forceSignAnnotated A boolean to specify whether annotated tags created should be GPG signed. If --anno... 11 小时前
  85. 85 tar tar.umask This variable can be used to restrict the permission bits of tar archive entries. The default is ... 11 小时前
  86. 86 trace2 Trace2 config settings are only read from the system and global config files; repository local and worktree... 11 小时前
  87. 87 trailer trailer.separators This option tells which characters are recognized as trailer separators. By default only... 11 小时前
  88. 88 transfer transfer.credentialsInUrl A configured URL can contain plaintext credentials in the form <protocol>://<use... 11 小时前
  89. 89 uploadarchive uploadarchive.allowUnreachable If true, allow clients to use git archive --remote to request any tree, w... 11 小时前
  90. 90 uploadpack uploadpack.hideRefs This variable is the same as transfer.hideRefs, but applies only to upload-pack (and ... 11 小时前
  91. 91 url url.<base>.insteadOf Any URL that starts with this value will be rewritten to start, instead, with <base>. ... 11 小时前
  92. 92 user user.name user.email author.name author.email committer.name committer.email The user.name and user.email... 11 小时前
  93. 93 versionsort versionsort.prereleaseSuffix (deprecated) Deprecated alias for versionsort.suffix. Ignored if versionsort... 11 小时前
  94. 94 web web.browser Specify a web browser that may be used by some commands. Currently only linkgit:git-instaweb[1]... 11 小时前
  95. 95 worktree worktree.guessRemote If no branch is specified and neither -b nor -B nor --detach is used, then git wo... 11 小时前