Mark directories and keep the same base
Paste paths relative to the directory containing your single .gitignore. Enter build/ for a directory and build for a file. A leading / anchors a rule, but is invalid in the candidate input. Candidate spaces are literal, so do not trim a filename just to make it match.