第2章 アプリケーションのバージョンを管理するための設定
複数の開発者が関わるプロジェクトではすべて、効果的な改訂管理が必須になります。Red Hat Enterprise Linux は Git という分散型のバージョン管理システムが同梱され、配信されています。
-
インストール時に
開発ツールアドオンを選択して、Git をインストールします。 または、システムのインストール後に、Red Hat Enterprise Linux のリポジトリーから git パッケージをインストールします。
# yum install git
Red Hat がサポートする Git の最新版を取得するには、Red Hat Software Collections から rh-git29 のコンポーネントをインストールします。
# yum install rh-git29
Git コミットに関連付けるフルネームとメールアドレスを設定します。
$
git config --global user.name "full name"$git config --global user.email "email_address"full name と email_address は、実際の名前とメールアドレスに置き換えます。
Git で開始するデフォルトのテキストエディターを変更するには、
core.editorの設定オプションの値を設定します。$
git config --global core.editor commandcommand は、選択のテキストエディターの起動に使用するコマンドに置き換えます。
その他のリソース
- 「11章Git の使用」
- 『Red Hat Software Collections 3.0 Relase Notes』: 「4.5 Git」

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.