git addを取り消す git ファイルを修正後、git addしたが、やっぱりやめたい。 $ git reset HEAD 特定のファイルのaddだけを取り消したい場合は、ファイル名を指定する。 $ git reset HEAD <ファイル名> わかる Git Kindle版