Este conteúdo não está disponível no idioma selecionado.

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.

  1. Select the Development Tools Add-on during the system installation to install Git.
  2. Alternatively, install the git package from the Red Hat Enterprise Linux repositories after the system is installed.

    # yum install git
    Copy to Clipboard Toggle word wrap
  3. To get the latest version of Git supported by Red Hat, install the rh-git227 component from Red Hat Software Collections.

    # yum install rh-git227
    Copy to Clipboard Toggle word wrap
  4. Set the full name and email address associated with your Git commits:

    $ git config --global user.name "full name"git config --global user.name "full name"git config --global user.name "full name"
    $ git config --global user.email "email_address"git config --global user.email "email_address"git config --global user.email "email_address"
    Copy to Clipboard Toggle word wrap

    Replace full name and email_address with your actual name and email address.

  5. To change the default text editor started by Git, set the value of the core.editor configuration option:

    $ git config --global core.editor commandgit config --global core.editor command
    Copy to Clipboard Toggle word wrap

    Replace command with the command to be used to start the selected text editor.

Additional Resources

Voltar ao topo
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2025 Red Hat