Skip to content

Instantly share code, notes, and snippets.

@masaeedu
Last active May 25, 2017 21:18
Show Gist options
  • Save masaeedu/39341357c3f5c8b76c4e7d8ab72a9659 to your computer and use it in GitHub Desktop.
Save masaeedu/39341357c3f5c8b76c4e7d8ab72a9659 to your computer and use it in GitHub Desktop.
Comprehensive list of git options (scraped from https://linux.die.net/man/1/git-config)
core.fileMode
core.ignoreCygwinFSTricks
core.ignorecase
core.trustctime
core.quotepath
core.autocrlf
core.safecrlf
core.symlinks
core.gitProxy
core.ignoreStat
core.preferSymlinkRefs
core.bare
core.worktree
core.logAllRefUpdates
core.repositoryFormatVersion
core.sharedRepository
core.warnAmbiguousRefs
core.compression
core.loosecompression
core.packedGitWindowSize
core.packedGitLimit
core.deltaBaseCacheLimit
core.bigFileThreshold
core.excludesfile
core.editor
core.pager
core.whitespace
core.fsyncobjectfiles
core.preloadindex
core.createObject
core.notesRef
core.sparseCheckout
add.ignore-errors
alias.*
am.keepcr
apply.ignorewhitespace
apply.whitespace
branch.autosetupmerge
branch.autosetuprebase
branch.<name>.remote
branch.<name>.merge
branch.<name>.mergeoptions
branch.<name>.rebase
browser.<tool>.cmd
browser.<tool>.path
clean.requireForce
color.branch
color.branch.<slot>
color.diff
color.diff.<slot>
color.grep
color.grep.<slot>
color.interactive
color.interactive.<slot>
color.pager
color.showbranch
color.status
color.status.<slot>
color.ui
commit.status
commit.template
diff.autorefreshindex
diff.external
diff.mnemonicprefix
diff.renameLimit
diff.renames
diff.suppressBlankEmpty
diff.tool
difftool.<tool>.path
difftool.<tool>.cmd
difftool.prompt
diff.wordRegex
fetch.unpackLimit
format.attach
format.numbered
format.headers
format.cc
format.subjectprefix
format.suffix
format.pretty
format.thread
format.signoff
gc.aggressiveWindow
gc.auto
gc.autopacklimit
gc.packrefs
gc.pruneexpire
gc.reflogexpire
gc.reflogexpireunreachable
gc.rerereresolved
gc.rerereunresolved
gitcvs.commitmsgannotation
gitcvs.enabled
gitcvs.logfile
gitcvs.usecrlfattr
gitcvs.allbinary
gitcvs.dbname
gitcvs.dbdriver
gitcvs.dbuser, gitcvs.dbpass
gitcvs.dbTableNamePrefix
gui.diffcontext
gui.encoding
gui.matchtrackingbranch
gui.newbranchtemplate
gui.pruneduringfetch
gui.trustmtime
gui.spellingdictionary
gui.fastcopyblame
gui.copyblamethreshold
gui.blamehistoryctx
guitool.<name>.cmd
guitool.<name>.needsfile
guitool.<name>.noconsole
guitool.<name>.norescan
guitool.<name>.confirm
guitool.<name>.argprompt
guitool.<name>.revprompt
guitool.<name>.revunmerged
guitool.<name>.title
guitool.<name>.prompt
help.browser
help.format
help.autocorrect
http.proxy
http.sslVerify
http.sslCert
http.sslKey
http.sslCertPasswordProtected
http.sslCAInfo
http.sslCAPath
http.maxRequests
http.minSessions
http.postBuffer
http.lowSpeedLimit, http.lowSpeedTime
http.noEPSV
i18n.commitEncoding
i18n.logOutputEncoding
imap
init.templatedir
instaweb.browser
instaweb.httpd
instaweb.local
instaweb.modulepath
instaweb.port
interactive.singlekey
log.date
log.showroot
mailmap.file
man.viewer
man.<tool>.cmd
man.<tool>.path
merge.conflictstyle
merge.log
merge.renameLimit
merge.stat
merge.tool
merge.verbosity
merge.<driver>.name
merge.<driver>.driver
merge.<driver>.recursive
mergetool.<tool>.path
mergetool.<tool>.cmd
mergetool.<tool>.trustExitCode
mergetool.keepBackup
mergetool.keepTemporaries
mergetool.prompt
notes.displayRef
notes.rewrite.<command>
notes.rewriteMode
notes.rewriteRef
pack.window
pack.depth
pack.windowMemory
pack.compression
pack.deltaCacheSize
pack.deltaCacheLimit
pack.threads
pack.indexVersion
pack.packSizeLimit
pager.<cmd>
pull.octopus
pull.twohead
push.default
rebase.stat
receive.autogc
receive.fsckObjects
receive.unpackLimit
receive.denyDeletes
receive.denyCurrentBranch
receive.denyNonFastForwards
receive.updateserverinfo
remote.<name>.url
remote.<name>.pushurl
remote.<name>.proxy
remote.<name>.fetch
remote.<name>.push
remote.<name>.mirror
remote.<name>.skipDefaultUpdate
remote.<name>.skipFetchAll
remote.<name>.receivepack
remote.<name>.uploadpack
remote.<name>.tagopt
remote.<name>.vcs
remotes.<group>
repack.usedeltabaseoffset
rerere.autoupdate
rerere.enabled
sendemail.identity
sendemail.smtpencryption
sendemail.smtpssl
sendemail.<identity>.*
sendemail.aliasesfile
sendemail.aliasfiletype
sendemail.bcc
sendemail.cc
sendemail.cccmd
sendemail.chainreplyto
sendemail.confirm
sendemail.signedoffcc
showbranch.default
status.relativePaths
status.showUntrackedFiles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment