Skip to content
This repository was archived by the owner on Dec 15, 2018. It is now read-only.
This repository was archived by the owner on Dec 15, 2018. It is now read-only.

Unable to commit anything to an empty repository. #1

Description

@nemec

GitPython returns a empty diff when HEAD is unavailable (eg. when there are no commits). Adding untracked files works, but nothing can be done with them.

Workaround: once your untracked files are added, commit through the command line. Everything should work fine from there.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions