git add --allを使用する場合、.gitignoreはステージングに追加されません。それでは、私は手動でこのgit addを使用するとステージングに.gitignoreをどのように追加しますか?--all
$ git add .gitignore
The following paths are ignored by one of your .gitignore files:
.gitignore
Use -f if you really want to add them.
よう.gitignore追加しようだから私は.gitignore
ファイルから.gitignore
エントリを削除する迷惑
まあ、代わりに '.gitignore'ファイルをgitignoreしないように選択することもできます... – Amber
おそらく:http://stackoverflow.com/a/9436505/4280359。 –