Issue #6236 invalid

Repositories corrupted

Frédéric MARTINEZ
created an issue

Hi,

We are a small team (3 persons) but we use Bitbucket every day (39 repositories), and JIRA (1x 25 licence) and Confluence, thanks for you amazing job!

But we have a huge problem on almost every repository. After few weeks, we cannot pull the latest commits.

Error:

From https://user@bitbucket.org/repo_user/repo.git
 * branch            master     -> FETCH_HEAD
There are no candidates for merging among the refs that you just fetched.
Generally this means that you provided a wildcard refspec which had no
matches on the remote end.

Our config file is:

[core]
    repositoryformatversion = 0
    filemode = true
    bare = false
    logallrefupdates = true
[remote "origin"]
    url = git@bitbucket.org:repo_user/repo.git
    fetch = +refs/heads/*:refs/remotes/origin/*
[remote "original"]
    url = https://user@bitbucket.org/repo_user/repo.git
    fetch = +refs/heads/*:refs/remotes/original/*
[branch "master"]
    remote = origin
    merge = refs/heads/master
[user]
    name = Prod
    email = email@website.com

Our solution? Create an another repository (ex: "repo2") and push an init commit from complete source "repo". It's very dirty, I know.

So, can you help us? This problem occurs only on Bitbucket repository and we don't want to change.

Of course, we tried: - http://stackoverflow.com/questions/5131105/pull-all-unfetched-changes-from-git-repository - http://stackoverflow.com/questions/13799108/git-wildcard-refspec-with-no-match-on-remote-when-pulling

Thanks.

Comments (5)

  1. Michael Frauenholtz staff

    This issue sounds like something that support can help you with. Please contact support directly by emailing support@bitbucket.org or create an account at Support's JIRA instance at support.atlassian.com. There, you'll get personal service with this issue.

  2. Log in to comment