Handling multiple git accounts

Imagine the scenario: you have multiple github accounts, one for personal stuff, one for school, one for work stuff. Managing this stuff becomes a nightmare, and I’m sure y’all can relate to pushing with the wrong email, frantically having to amend, then git config user.email . If you keep your separate “identities” separated via subfolder, there’s a nice solution. In your main .gitconfig : […