I have Visual C++ project on disc:
project_name.sln
/project_name/project_name.vcxproj
/project_name/Debug
/project_name/Release
.gitignore is placed in in the same directory like project_name.sln. Hot to tell .gitignore not include /project_name/Debug and /project_name/Release in universal way - without defining project_name/ directory?