Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Update gitconfig to Work with Multiple Accounts and SSH Keys


    When working with multiple GitHub accounts on the same system, you want to ensure that your commits have the proper author information.

    To do this, we'll create a global git configuration on our system that uses our personal account's information. Then, in our work-specific repositories, we'll add a local git configuration to override our global values.

    We will be using the following commands in this lesson:

    • code
    • git config