Skip to content

Generate .gitignore with "hatch new" #2229

@bact

Description

@bact

Description

When creating a new project with hatch new, create a default .gitignore file.

A very minimal .gitignore can be:

__pycache__/
dist/

Use case/motivation

A well-prepared standard .gitignore that helps a hatch user getting start quicker with Python development with Git.

More can be added manually by the user to fits their needs, but at least the .gitignore is there to edit.

Related issues

This isssue is a reopen of #667

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions