Skip to content

Support shallow clone when migrating repostiory #36100

@ryankomodo

Description

@ryankomodo

Feature Description

I think it would be greate if Gitea can use shallow clone to ease the network pains of cloning very large repository. Basically, it starts with git clone --depth 1, tben git fetch --deepen= , finally git fetch --unshallow.

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/repo-migrationMigrate repos from other platforms to Gitea, or from Gitea to themtype/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions