Back to Developer Roadmap

Local vs Global Config

src/data/roadmaps/git-github/content/local-vs-global-config@tVvxC5JQgUb_B8kOqYpD8.md

4.0778 B
Original Source

Local vs Global Config

To manage local and global configuration settings, you can use the git config command with the --local and --global options.

  • Local configuration: Run git config --local [key] [value] to set a local configuration setting for the current repository.
  • Global configuration: Use git config --global [key] [value] to set a global configuration setting that applies to all repositories on your system.

Visit the following resources to learn more: