Skip to content

On initial sync, all files are in deleted status #915

@dmfrey

Description

@dmfrey

When I setup git-sync, it seems to clone correctly, but when I shell into the container and into the root folder, I only see the symlink directory and worktrees.

Calling git status shows all the files as deleted.

What is causing this?

Here's my environment config:

env:
    GITSYNC_REPO: [email protected]:some/repo.git
    GITSYNC_REF: main
    GITSYNC_PERIOD: 10s # 1 day
    GITSYNC_ROOT: /tmp/config
    GITSYNC_ADD_USER: "true"

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