Questo contenuto non è disponibile nella lingua selezionata.
Chapter 2. Setting up to Manage Application Versions
Effective version control is essential to all multi-developer projects. Red Hat Enterprise Linux is distributed with Git, a distributed version control system.
-
Select the
Development Tools
Add-on during the system installation to install Git. Alternatively, install the git package from the Red Hat Enterprise Linux repositories after the system is installed.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow yum install git
# yum install git
To get the latest version of Git supported by Red Hat, install the rh-git227 component from Red Hat Software Collections.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow yum install rh-git227
# yum install rh-git227
Set the full name and email address associated with your Git commits:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow git config --global user.name "full name" git config --global user.email "email_address"
$ git config --global user.name "full name" $ git config --global user.email "email_address"
Replace full name and email_address with your actual name and email address.
To change the default text editor started by Git, set the value of the
core.editor
configuration option:Copy to Clipboard Copied! Toggle word wrap Toggle overflow git config --global core.editor command
$ git config --global core.editor command
Replace command with the command to be used to start the selected text editor.