Bird
0
0

What does the Git configuration setting core.editor control?

easy📝 Conceptual Q11 of 15
Git - Configuration and Aliases
What does the Git configuration setting core.editor control?
AThe text editor Git uses for commit messages and other editing tasks
BThe default branch name for new repositories
CThe username for Git commits
DThe remote repository URL
Step-by-Step Solution
Solution:
  1. Step 1: Understand the purpose of core.editor

    This setting tells Git which text editor to open when you need to write commit messages or other text inputs.
  2. Step 2: Identify what core.editor does not control

    It does not affect branch names, usernames, or remote URLs, which are controlled by other settings.
  3. Final Answer:

    The text editor Git uses for commit messages and other editing tasks -> Option A
  4. Quick Check:

    core.editor = text editor setting [OK]
Quick Trick: core.editor sets your commit message editor [OK]
Common Mistakes:
  • Confusing core.editor with branch or user settings
  • Thinking it sets remote URLs
  • Assuming it changes Git commands behavior

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Git Quizzes