I'm currently working on a C++ project and use git for version control.
Now, we're using the git repo folder as the main project folder, so every time a change is pushed, it includes the relevant build folders ( build-ProjectName-Desktop-Debug sorta style folder
)
I'm aware of gitignore
being a thing, can I somehow tell that to ignore all folders whose name starts with build-
?
Yes, you can use wildcards in your .gitignore
file.
So for example:
build-*
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.