terraform-provider-github icon indicating copy to clipboard operation
terraform-provider-github copied to clipboard

[FEAT]: Can the repository `auto_init` create an empty commit?

Open moltar opened this issue 1 year ago • 1 comments

Describe the need

Currently, auto_init adds a placeholder README.md file with a single # Test line.

I think it'd be better if a single, empty commit was added. It would then have no conflicts with repository contents and still have a commit, and a branch.

git commit --allow-empty -m Init

SDK Version

No response

API Version

No response

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

moltar avatar Feb 07 '24 20:02 moltar

I like this idea! I'd be happy to review a PR that changed this functionality.

kfcampbell avatar Feb 12 '24 19:02 kfcampbell