Git - Configuration and Aliases
You want to set your Git user email globally but override it with a different email for a specific project. Which sequence of commands achieves this?
git config --global user.email "global@example.com" to set the default email for all projects.git config --local user.email "project@example.com" to override the global email only for that project.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions