Skip to content

-U option failure on new branch #60

@AlexisTM

Description

@AlexisTM

When cloning an already cloned once repo with -U on a new branch, we get "the branch does not exist".

Reproduce:

  1. Create a repo
  2. Clone the repo with git cache clone -U repo -b main
  3. Add a branch
  4. Clone the repo again with
  5. Pull the repo with git cache clone -U repo -b new_branch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions