pages.*: update outdated pages (#11893)

This commit is contained in:
Sebastiaan Speck
2023-12-29 10:16:53 +01:00
committed by GitHub
parent 473dd06173
commit 9baf07d08b
30 changed files with 65 additions and 137 deletions

View File

@@ -5,7 +5,7 @@
- メッセージと共に、ステージ済のファイルをリポジトリにコミットする:
`git commit -m "{{メッセージ}}"`
`git commit --message "{{メッセージ}}"`
- ファイルから読みとったメッセージと共に、ステージ済のファイルをコミットする:
@@ -13,11 +13,7 @@
- 変更されたファイルを全て自動的にステージし、メッセージと共にコミットする:
`git commit -a -m "{{メッセージ}}"`
- ステージ済のファイルをコミットし、`~/.gitconfig`に設定したGPG鍵で署名する:
`git commit -S -m "{{メッセージ}}"`
`git commit --all --message "{{メッセージ}}"`
- 今のステージ済の変更を最後のコミットに付け足し、コミットハッシュを変更する:
@@ -29,4 +25,4 @@
- ステージ済のファイルが無くても、コミットを作る:
`git commit -m "{{メッセージ}}" --allow-empty`
`git commit --message "{{メッセージ}}" --allow-empty`