Bird
0
0

What is the effect of running git config --system core.editor nano compared to git config --global core.editor nano?

easy📝 Conceptual Q1 of 15
Git - Configuration and Aliases
What is the effect of running git config --system core.editor nano compared to git config --global core.editor nano?
ASets the default editor for all users on the system
BSets the editor only for the current user globally
CSets the editor only for the current repository
DOverrides any local repository editor setting
Step-by-Step Solution
Solution:
  1. Step 1: Understand --system scope

    The --system flag sets configuration at the system level, affecting all users.
  2. Step 2: Understand --global scope

    The --global flag sets configuration for the current user across all repositories.
  3. Final Answer:

    Sets the default editor for all users on the system -> Option A
  4. Quick Check:

    System config applies to all users, global applies per user [OK]
Quick Trick: System config affects all users, global config affects one user [OK]
Common Mistakes:
  • Confusing --system with --global scope
  • Assuming --system affects only current user
  • Thinking --system overrides local config

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Git Quizzes