LoginSignup
0
0

More than 3 years have passed since last update.

git add コマンドの使い方

Posted at
$ git add .

このコマンドを打つと、コミット前に自分が修正したファイルを一時的に保存しておくことができます。

addの後ろにある「.」を付けることで、例えば修正したファイルが3つあれば、 全て保存することができる。

5つのファイルを修正して、そのうち2つだけコミットしたいときなどは、
「git add ファイル名」にすれば、指定したファイルのみ保存することができる。

0
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
0
0