Friday, November 22, 2019

How To Install Git on Windows

Step 1: Open the link https://git-scm.com/
            Create Git Hub Account : Create Git Hub Account

Step 2: Click on "Download 2.240 for Windows" and it will download automatically the git exe file based on your Operating System  (Note : version may changed )
           


Step 3: Go to "Downloads" folder and select the "Git-2.24.0.2-64-bit" (Note : version may changed ) and Right click on exe file and Press Enter

Step 4: Click on "Yes" to install the Git 

Step 5 : Select "Next" on  Information windows for GNU General Public License 
Step 6: Select the "Destination Location
Step 7: Click on "Next"
Step 8: Select Start Menu folder
           

Step 9: Select default Editor as "VIM
Step 10: Select "Use Git from Git Bash only" to Adjust your PATH Environment

Step 11: Select "Use the OpenSSL Library" for choosing HTTPS transport backend
Step 12: Select "Checkout Windows-style, commit Unix-style line endings" for configuring the line ending conversions.
Step 13:  Select "Use MinTTY (The default terminal  of MSYS2)" to configure the terminal emulator to use with "Git Bash"
Step 14: Select the features for your Git from the three options, you can choose any of them, all of them or none of them as per your needs.

Step 15: Click on "Install" to install Git 
               
Step 16: After completion of installation process, you get the options like, select "Launch Git Bash"  and click on "Finish" 

Step 17: This will launch Git Bash on your screen which looks like the snapshot below: 


Step 18: Now, Let us proceed with configuring Git with your username and email 
               To Do that, type the following commands from your Git Bash 
               
               git config --global user.name "<Your Name>"

               Eg: git config --global user.name devops

               git config --global user.email "<Your Email>
                           
                Eg: git config --global user.email devops.dasari@gmail.com   


Successfully Completed Git installation on Windows !!!

If you want to view all your configuration details, use the below command:

 git config --list





No comments:

Post a Comment

How to install and setup Kubernetes cluster using kOps in AWS environment

  Kops: Kops is also known as Kubernetes Operations, it is an open-source project which helps you to create, upgrade, destroy, and maintain ...