Skip to content

Avoid fatal: bad revision HEAD in Git WebUI on empty repo #228

Closed
@isc-tleavitt

Description

@isc-tleavitt

This is a likely situation if you've run git init and haven't committed anything yet.

Activity

self-assigned this
on Jan 24, 2023
changed the title [-]Avoid fatal: bad revision HEAD on empty repo[/-] [+]Avoid fatal: bad revision HEAD in Git WebUI on empty repo[/+] on Jan 24, 2023
isc-tleavitt

isc-tleavitt commented on May 16, 2023

@isc-tleavitt
CollaboratorAuthor

@isc-pbarton this would be a nice thing to have before Summit too (just thinking about the new-user experience)

isc-rsaptars

isc-rsaptars commented on Sep 19, 2023

@isc-rsaptars
Contributor

Needed some clarifications:
I get this error when I initialize an empty git directory through the Configure() workflow. Is there any other workflow in which git init is used to create an empty git directory?
I have fixed the Configure() workflow by adding an empty initial commit after the directory is created.

isc-tleavitt

isc-tleavitt commented on Sep 19, 2023

@isc-tleavitt
CollaboratorAuthor

@isc-rsaptars I think that's sufficient.

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

    Development

    Participants

    @isc-pbarton@isc-tleavitt@isc-rsaptars

    Issue actions

      Avoid fatal: bad revision HEAD in Git WebUI on empty repo · Issue #228 · intersystems/git-source-control