Getting Started with Git

You are currently auditing this course.
3 / 16

GitHub Project - Getting Started with Git - Setup Your username and email in the Git repository

Let's configure our email and name in the git repository. When we do commit, GIT will associate that commit to our name and email so that other developers in the team can identify the committer.

We use git config command for the same

INSTRUCTIONS
  • Make sure you are in ~/devops directory

  • Specify your name with the below command. Replace full_name with your full name like Abhinav Singh

    git config user.name "full_name"
    
  • Specify your email with the below command. Replace email_id with your email id like abc@xyz.com

    git config user.email "email_id"
    
Get Hint See Answer

Loading comments...