Show / Hide Table of Contents

Enum ConfigurationLevel

Priority level of a config file. These priority levels correspond to the natural escalation logic (from higher to lower) when searching for config entries in git.

Namespace: Dogged
Assembly: Dogged.dll
Syntax
public enum ConfigurationLevel : int

Fields

Name Description
Application

Application specific configuration file; freely defined by applications.

Global

User-specific configuration file (also called Global configuration file); typically ~/.gitconfig

HighestLevel

Represents the highest level available config file (i.e. the most specific config file available that actually is loaded).

Local

Repository specific configuration file; $WORK_DIR/.git/config on non-bare repos.

ProgramData

System-wide on Windows, for compatibility with portable git

System

System-wide configuration file; /etc/gitconfig on Linux systems.

Worktree

Worktree specific configuration file; $GIT_DIR/config.worktree

XDG

XDG compatible configuration file; typically ~/.config/git/config

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX