Bird
0
0

Why does configuring Git settings like user.name and user.email globally improve workflow in a team environment?

hard📝 Conceptual Q10 of 15
Git - Configuration and Aliases
Why does configuring Git settings like user.name and user.email globally improve workflow in a team environment?
AIt automatically merges all conflicts without user intervention
BIt disables commit signing to speed up commits
CIt ensures all commits have consistent author info without manual setup per repo
DIt prevents accidental pushes to the remote repository
Step-by-Step Solution
Solution:
  1. Step 1: Understand global config effect on multiple repos

    Global settings apply to all repositories on the machine, avoiding repeated manual setup.
  2. Step 2: Recognize benefit for team collaboration

    Consistent author info helps track contributions clearly across projects and team members.
  3. Final Answer:

    It ensures all commits have consistent author info without manual setup per repo -> Option C
  4. Quick Check:

    Global config = consistent author info [OK]
Quick Trick: Set user info globally once for all repos [OK]
Common Mistakes:
  • Thinking it merges conflicts automatically
  • Believing it disables commit signing
  • Assuming it blocks pushes

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Git Quizzes