Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-20793

Add support for partial git clones (git clone --filter)

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      As stated on ticket BSERV-11639, our company would like to have support for partial git clones. I will paraphrase the same arguments stated for Bitbucket Server.

      Problem Definition

      A user needs to clone a large repository. If a user needs to work in a certain subdirectory of the repository, they are required to clone the entire repository. When a repository is large (Example: 1GB+) it can take some time to clone files that may not be required.

      Suggested Solution

      Since Git 2.18, Git protocol v2 has introduced the --filter flag to enable partial clones

      This will allow users to clone specific subdirectories of a repository only.

      Why this is important

      This will increase cloning performance on large repositories.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              2208d398383a Jon Ander Fandiño
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: