2016-12-11 12 views
0

にPROJECT_NAME /デバッグを定義します。 .gitignoreには、普遍的な方法で/project_name/Debug/project_name/Releaseが含まれていません。project_name/ディレクトリを定義していませんか?は、私は、ディスク上のVisual C++プロジェクトを持っている.gitignore

+0

[Visual Studioのプロジェクトおよびソリューションのための.gitignore](http://stackoverflow.com/questions/2143956/gitignore-for-visual-studio-projects-and-solutions)の可能性の重複 –

答えて

1

試行gitignore.ioさまざまなシナリオで.gitignoreを生成できます。次に、生成された.gitignoreファイルを指すように、git構成のcore.excludesfileをポイントします。

git config --global core.excludesfile 'GIT_IGNORE_PATH/.gitignore'

関連する問題