Skip to content

add empty directories that existed in svn #6

@mattsawyer77

Description

@mattsawyer77

This is merely a suggestion (and might be heavy-handed, but I thought I would throw it out there). When migrating from svn, empty directories do not (and technically, cannot) get added to git because git doesn't store empty directories. My suggestion is to create the folder and place a .gitignore file with the following contents:

*
!.gitignore

This would at least allow the directory to get created in the new repo, because if an empty directory is committed to svn, the developer probably expects it to exist for the application code to be in a normal state.

Metadata

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