Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

error: refs/remotes/origin/<branch_name> does not point to a valid object!

Hye Jin Park June 24, 2020

When I checked out the Bitbucket repo from Bamboo, I got the following error:

error: refs/remotes/origin/<branch_name> does not point to a valid object!

The branch does not exist anymore. so I can't understand why they are looking the old branch. Also, the files in the previous branch continue to build even thogh I build the current 'master' branch. How can it be solved?

1 answer

0 votes
Tiago July 16, 2021

In the plan configuration, go to the step "Source Code Checkout configuration" and check the option "Force Clean Build".

It removes the source directory and checks it out again prior to each build. This may significantly increase build times.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events