Expand description
Configure the global settings of all git-binary based operations.
Structs§
- Config
- Ensure that the global git configuration is initialized and has the correct contents. Each time Lorry starts up this file will be setup with required values but additional options can be added as desired.
Enums§
- Error
- An error that occurred while access the global git configuration.
Constants§
- DEFAULT_
GIT_ BRANCH - The default branch to use when initializing and creating commits, this currently only effects LFS backed raw-file repositories.
- DEFAULT_
GIT_ CONFIG_ PATH - Default path used to setup Lorry’s git configuration file. TODO: Should support XDG style configuration and maybe others.
- GITLAB_
OAUTH_ USER - Default username used for basic authentication during LFS operations
- GIT_
CONFIG_ GLOBAL - Environment variable that specifies where the global git configuration is located. This needs to be configured each time we shell out to Git.