error: some local refs could not be updated; try running error git remote prune ssh:// <.git>

Sarang Vishnupurikar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 2, 2020

I am using Bamboo for CI and Bitbucket server(Hosted on Azure Windows 2016 VM) (Privately hosted on Azure Linux VM). I also have added repo and branch in build plan from repository settings. Now when I am running Builds it is failing at very first Source code checkout task intermittently with error as below

error: some local refs could not be updated; try running error git remote prune ssh:// <.git>

where it is fetching all the branches of the linked repository which should not be the case as I am specifically mentioning the branch name to be picked for build.

am I missing something due to which the error is coming randomly

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events