【これだけで大丈夫】.gitignore チートシート

リポジトリで管理したくないファイル(or ディレクトリ) は.gitignore に定義することで git add 実行時にインデックスに追加されなくなる。 指定 除外対象 foo.txt 配下のサブディレクトリのどこかにある foo.txt ファイル(or ディレクトリ) /foo.txt 現在のディレクトリにある foo.txt ファイル(or ディレクトリ) foo/ 配…