Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Add an Empty Initial Commit as a Best Practice #276

@Jan-Schuppik

Description

@Jan-Schuppik

Adding an empty initial commit is considered a best practice before committing any new files. This ensures the repository’s history starts in a clean state and provides a clear anchor point for future commits.
Additionally, the initial commit is very useful if you want to show things that are only possible once a commit already exists in the repository.

git commit --allow-empty -m "initial commit"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions