Skip to content

fatal: bad revision 'HEAD' on first add #109

@naggie

Description

@naggie

Original report: #8 (comment) courtesy of @ghistes

image

Cause:

dstask/git.go

Line 37 in e4d8034

if RunGitCmd(repoPath, "diff-index", "--quiet", "HEAD", "--") == nil {

Solution is probably to see if anything is in .git/objects

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions