Skip to content

How to commit to empty repository? #1085

@htetmyomyint-kmp

Description

@htetmyomyint-kmp

I was trying to create new repo and then commit files to that repo.
Creating repo is ok but I got an error "409 Git Repository is empty.", when I try to commit file to that repo.
Can't we commit to new repo? Or is there any way to do empty commit by using go-github?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions