This entry is very new in the tldr-pages project, hence translation data is currently unavailable for a while.
git commit
リポジトリにファイルをコミットします。 もっと詳しく: https://git-scm.com/docs/git-commit。
- メッセージと共に、ステージ済のファイルをリポジトリにコミットする:
git commit --message "
メッセージ"
- ファイルから読みとったメッセージと共に、ステージ済のファイルをコミットする:
git commit --file
コミットメッセージが書かれたファイルへのパス
- 変更されたファイルを全て自動的にステージし、メッセージと共にコミットする:
git commit --all --message "
メッセージ"
- 今のステージ済の変更を最後のコミットに付け足し、コミットハッシュを変更する:
git commit --amend
- 特定のファイル(ステージ済)だけをコミットする:
git commit
ファイルパス1 ファイルパス2 …
- ステージ済のファイルが無くても、コミットを作る:
git commit --message "
メッセージ" --allow-empty