このページでは

変更をステージングする

変更をステージングしてコミットし、リモートリポジトリにプッシュしたり、レビューのために Gerrit に送信したりできるようにします。

現在のファイルをステージングする

新規または変更されたファイルをリポジトリにコミットするためにマークするには、次のいずれかの方法でファイルをステージングします。

  • [Tools ] > [Git ] > [Current File ] に移動し、[Stage <file> for Commit] を選択します。
  • Projects」または「File System」でファイルを右クリックし、「Git 」 > 「Stage 」を選択します。
  • Tools 」 > 「Git 」 > 「Local Repository 」 > 「Commit 」に移動し、「Files 」内のファイルを右クリックして、「Stage 」を選択します。

現在のファイルのステージ解除

現在のファイルをステージされた変更から除外するには、次のいずれかの方法でファイルのステージを解除します。

  • Tools 」>「Git 」>「Current File 」に移動し、「Unstage <file> from Commit 」を選択します。
  • Projects」または「File System」でファイルを右クリックし、「Git 」 > 「Unstage 」を選択します。
  • Tools 」 > 「Git 」 > 「Local Repository 」 > 「Commit 」に移動し、「Files 」でファイルを右クリックして、「Unstage 」を選択します。

チャンクまたは行単位でステージする

Git Diffビューでは、変更をチャンク単位または行単位でコミット用にステージングできます。

「Git の使用方法」および Git の活用も参照してください

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.