Skip to content

Create .gitignore definition #83

@Mandera

Description

@Mandera

I thought .git/exclude and .gitignore were interchangeable when I decided to go with .git/exclude

Later learned that .git folder isn't versioned! So let's move this to .gitignore:

from generalpackager.api.shared.files.file import File
class GitExcludeFile(File):
_relative_path = ".git/info/exclude"
is_file = True
aesthetic = True
def _generate(self):
return "\n".join(self.packager.git_exclude_lines)

And also include

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions