Git Cheatsheet
Config
Section titled “Config”| Action | Code |
|---|---|
| Set repository email | git config user.email "email@example.com" |
| Set global email | git config --global user.email "email@example.com" |
| Enable long paths | git config --global core.longpaths true |
| Action | Code |
|---|---|
| Set repository email | git config user.email "email@example.com" |
| Set global email | git config --global user.email "email@example.com" |
| Enable long paths | git config --global core.longpaths true |