I have a .gitignore file within my project with the following rules:
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
[Xx]64/
[Xx]86/
[Bb]uild/
bld/
[Bb]in/
[Oo]bj/
I have a specific folder in my application that uses the keyword "Build" but I want to include this particular folder and it's files as part of my commits.
The paths I want to include are as following:
Views/Build/Index.cshtml
Views/Build/Create.cshtml
I've tried the following but it isn't working:
!Views/[Bb]uild/*
What am I doing wrong?
I'm struggling to find an answer to my problem and hope someone can help.