Knowledge Graph — Coursera Notes › Academic disciplines › Information Technology / Computer Science › Software Development › Version Control › Git
Git config
feature · part of Git
Git requires user configuration (email and name) to associate commits with an identity. This is done with 'git config --global user.email "your_email"' and 'git config --global user.name "your_name"'. This configuration is stored globally and applies to all repositories on that system.
The 'dubious ownership' error occurs when the Git repository directory is owned by a different user, common in mounted directories (e.g., Azure compute instances). Git provides a command to add an exception for the directory, which the user copies and runs. After adding the exception, 'git add' works normally. This ensures Git can track files in directories not owned by the current user.
This is the text view of an interactive 3D knowledge graph — open this page with JavaScript enabled to explore it visually.