fbpx

Setting your email in Git

December 4, 2014

Setting your email address for every repository on your computer

  1. Open Terminal (for Mac and Linux users) or the command line (for Windows users).
  2. Set your email address with the following command:
    git config --global user.email "your_email@example.com"
    
  3. Confirm that you have set your email address correctly with the following command.
    git config --global user.email
    # your_email@example.com
    

Setting your email address for a single repository

You may need to set a different email address for a single repository, such as a work email address for a work-related project.

  1. Open Terminal (for Mac and Linux users) or the command line (for Windows users).
  2. Change the current working directory to the local repository in which you want to set your Git config email.
  3. Set your email address with the following command:
    git config user.email "your_email@example.com"
    
  4. Confirm that you have set your email address correctly with the following command.
    git config user.email
    # your_email@example.com
avatar
Gabriel Molina

Ver entradas

Most Recent

June 9, 2022

¿Qué son las DAO y cuáles son sus beneficios?

Es común en la historia contemporánea que haya cambios a partir de los avances en el campo de la...

Read More

June 2, 2022

¿Qué son las DeFi y por qué son el futuro de las finanzas?

Es común en la historia contemporánea que haya cambios a partir de los avances en el campo de la...

Read More

May 27, 2022

How to start a successful product build from scratch?

Creating a product from scratch could be a huge challenge. To achieve your business goals it’s important to develop...

Read More