Installation of Git Client
If you are using Debian base GNU/Linux distribution, then apt-get command will do the needful.
[ubuntu ~]$ sudo apt-get install git-core
[sudo] password for ubuntu:
[ubuntu ~]$ git --version
git version 1.8.1.2
And if you are using RPM based GNU/Linux distribution, then use yum command as given.
[CentOS ~]$
su -
Password:
[CentOS ~]# yum -y install git-core
[CentOS ~]# git --version
git version 1.7.1
In Windows,
Downloads git from here, latest version (2.38.1) 64-bit version of Git for Window. It was released about 1 month ago, on 2022-10-18
https://git-scm.com/download/win
Listing Git settings
To verify your Git settings of the local repository, use git config –list command as given below.
[james@CentOS ~]$ git config --list
The above command will produce the following result.
user.name=James Bond
user.email=james@javaskool.com
push.default=nothing
branch.autosetuprebase=always
color.ui=true
color.status=auto
color.branch=auto
core.editor=vim
merge.tool=vimdiff
Recent Comments