24 Apr 2021

Programming for Network Engineers Lecture 30 (GIT Commit , Update, pull ...

What is Git and Installing Git on your System (Windows)

What is GIT 

Git is a free, open source distributed version control system application that can manage anything from small to very large projects with ease. Linus Torvalds founded it in 2005 to build the Linux kernel.Most teams and individuals need the functionality, efficiency, protection, and versatility that Git provides. 

 

Installing Git 

Visit Git website https://git-scm.com/
 
 
Download Git for Windows , latest version we have is 2.31.1
 
Start Setup 
 
 
  

I am using notepad++ as git editor , but you can choose whatever you like . 
 
 
 
We will go with default here , but in future when you master this, you can make your own naming . Most people stick to Master as default . 
 
 
 
 We will stick to Default , So path is setup
 
 
 
 Using Open SSH here , as default 

  

Choosing HTTPS transport m, Choosing default 

 


Going with default .

 

Configuring terminal emulator 


 
Defining Git Pull behavior , from Git Repo from Server

    

check the our lecture slide if you forgot the structure  :) 
 
 
 
 Choosing Credential helper
 
 
 
 
 
Git Credential Manager Core (GCM Core) is a secure Git credential helper built on .NET that runs on Windows and macOS
 

Git Credential Manager for Windows (GCM Windows) is a .NET Framework-based Git credential helper which runs on Windows. Likewise the Git Credential Manager for Mac and Linux (Java GCM) is a Java-based Git credential helper that runs only on macOS and Linux. Although both of these projects aim to solve the same problem (providing seamless multi-factor HTTPS authentication with Git), they are based on different codebases and languages which is becoming hard to manage to ensure feature parity. Link

Setting up some extra settings 
 

Up to you if yuou want to enable it - i will leave it un checked for the time being 

 
 
And you have git installation underway