LoginSignup
1
0

More than 5 years have passed since last update.

変更を記録する

Posted at

Git commit

git commitはファイルの変更を記録するためのコマンド

   - 変更としては
   - 変更
   - 新規作成
   - 削除
   - 複数ファイルの作成・変更・削除がある
   

主なgit commitコマンド

git commit

git add により、インデックス領域にステージされた変更内容をすべてまとめたコミットを作成できる。

git commit

git commit .

「.(ドット)」で現在のディレクトリのファイルの全てをコミットすることができます。

git commit .

git commit -m

コメントを git commit実行と同時に入力し、エディタを開くことなく、素早くコミットを作成できる

git commit -m 'message'

参考文献・引用元

   

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0