You might have a hard time managing many cats, but when it comes to Git profiles there is something you can do.

Let’s get straight to the solution – The answer lies in the .gitconfig file. This is starter point for Git to identify what configurations need to be used.

The idea is to segregate the repos on your machine into multiple directories by separating the profiles you want, and then define a .gitconfig file per profile.

  • Step 1 → create separate directories for repos
  • Step 2 → create a global Git configuration
  • Step 3 → create individual Git configurations for profiles

#git #developer #programming

How to Use Multiple Git Configs on One Computer
1.90 GEEK