1.

Install Git: Installation in Windows/Linux/Mac OS X

Answer»

Install Git on Windows -


  • Download the latest version of Git from here.

  • After starting the installer, follow the command on the screen and press Next to complete the installation.

  • Open Command Prompt and run the following command to configure Git on your PC using your username and email.

$ git config --global user.name "username"
$ git config --global user.email "user_emails@interviewbit.com"

This configures Git on your PC with your username and email.

Install Git on Linux -

  • You can install Git on Linux using the command apt-get :
$ sudo apt-get update
$ sudo apt-get install git
  • Configure your username and email using the following command:
$ git config --global user.name "user_name"
$ git config --global user.email "user_email@interviewbit.com"

Install Git on Mac OS -


  • Download the latest version of Git from here.

  • Open the installer and follow the instructions.

  • Now since Git is installed, open command line and configure your username and user email.

$ git config --global user.name "user_name"
$ git config --global user.email "user_email@interviewbit.com"


Discussion

No Comment Found