Skip to content

build/.gitkeep excluded by top-level .gitignore #23

Open
@rwalkerands

Description

I'm just now adding a checkout of the files of this repo (except for the .git directory) within another git repo, and I found that git status --ignored reports build/ as being ignored. That indicates an inconsistency between the repo and its own .gitignore.

Indeed, this repo has abuild directory with a .gitkeep file, but the entire build directory is excluded by the top-level .gitignore.

If build/.gitkeep (but nothing else in the build directory) should indeed be in this repo, then perhaps where the top-level .gitignore has:

# Build data
/build/

consider changing it to:

# Build data
/build/*
!build/.gitkeep

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions