Subscribe Us


Breaking

Recent In Voip

Popular

Comments

Recent

Automating Integration & Deployment Using Git, Jenkins and Docker Part 2 / Git Installation

 

 
Git Installation 
We will use yum to install GIT in vm.
# sudo yum install -y git 





Once installed git, you can verify the version of installed Git using the following command.
 # sudo git --version



Configuring Git 
Now as git is installed on the CentOS machine successfully, now we will need to set up your personal info which will be used when you commit any changes to our code.
# sudo  git config --global user.name "Your Name"
# sudo git config --global user.email "youremail@yourdomain.com"

To verify that the above settings were added successfully, we can list all of the configuration settings that have been added by typing.
 # git config --list

0 on: "Automating Integration & Deployment Using Git, Jenkins and Docker Part 2 / Git Installation"