Mapping between Git Installer GUI Settings And Command Line Arguments - git-for-windows/git GitHub Wiki

The following table maps Git GUI Installation settings to corresponding Git Command Line Installation arguments:

Screenshot Available Arguments
(in sequence)
Example Arguments
Git 01
Components=

  • icons
  • ext\reg\shellhere
  • gitlfs
  • assoc
  • assoc_sh
  • windowsterminal
  • scalar

Components=gitlfs,scalar
Git 02
EditorOption=

  • Nano
  • VIM
  • Notepad++
  • VisualStudioCode
  • VisualStudioCodeInsiders
  • SublimeText
  • Atom
  • VSCodium
  • Notepad
  • Wordpad
  • CustomEditor

EditorOption=VisualStudioCode
Git 03
DefaultBranchOption=

{branch name}
DefaultBranchOption=main
Git 04
PathOption=

  • BashOnly
  • Cmd
  • CmdTools

PathOption=Cmd
Git 05
SSHOption=

  • OpenSSH
  • ExternalOpenSSH
  • Plink

SSHOption=ExternalOpenSSH
Git 06
CurlOption=

  • OpenSSL
  • WinSSL

CurlOption=WinSSL
Git 07
CRLFOption=

  • CRLFAlways
  • LFOnly
  • CRLFCommitAsIs

CRLFOption=CRLFAlways
Git 08
BashTerminalOption=

  • MinTTY
  • ConHost

BashTerminalOption=ConHost
Git 09
GitPullBehaviorOption=

  • Merge
  • Rebase
  • FFOnly

GitPullBehaviorOption=Merge
Git 10
UseCredentialManager=

  • Enabled
  • Disabled
  • Core

UseCredentialManager=Enabled
Git 11
PerformanceTweaksFSCache=

  • Enabled
  • Disabled


EnableSymlinks=

  • Auto
  • Enabled
  • Disabled

PerformanceTweaksFSCache=Enabled

EnableSymlinks=Disabled
Git 12
EnablePseudoConsoleSupport=

  • Auto
  • Enabled
  • Disabled


EnableFSMonitor=

  • Auto
  • Enabled
  • Disabled

EnablePseudoConsoleSupport=Disabled

EnableFSMonitor=Enabled

For a comprehensive list of Git for Windows Installer command line arguments see here.

⚠️ **GitHub.com Fallback** ⚠️