...
Excerpt |
---|
You may want to higher version of Git if you use Visual Studio Code (a.k.a. vscode) - its version will be Git 2.x probably. In that case, you can install by WANDisco repo package easily. |
STEP 1. Install WANDisco repo package
Code Block |
---|
yum install http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpm |
STEP 2. Install the latest version of Git 2.x:
Code Block |
---|
yum install git |
STEP 3. Verify the version of Git that was installed:
Code Block |
---|
git --version |
STEP 4. Set git commit username and email address type
Code Block |
---|
git config --global user.name "Your Name" git config --global user.email "youremail@yourdomain.com" |
...