Show / Hide Table of Contents

Enum git_config_level_t

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.

and honor those priority levels as well.

Namespace: Dogged.Native
Assembly: Dogged.Native.dll
Syntax
public enum git_config_level_t : int

Fields

Name Description
GIT_CONFIG_HIGHEST_LEVEL

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

GIT_CONFIG_LEVEL_APP

Application specific configuration file; freely defined by applications.

GIT_CONFIG_LEVEL_GLOBAL

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

GIT_CONFIG_LEVEL_LOCAL

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

GIT_CONFIG_LEVEL_PROGRAMDATA

System-wide on Windows, for compatibility with portable git

GIT_CONFIG_LEVEL_SYSTEM

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

GIT_CONFIG_LEVEL_WORKTREE

Worktree specific configuration file; $GIT_DIR/config.worktree

GIT_CONFIG_LEVEL_XDG

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

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