Azure / Azure/azure-sdk-tools

[LiveValidation RPaaS] Address `git prune` error

Open
#5,940 0 comments 0 reactions 1 assignee Claimed by @scbedd View on GitHub
Central-EngSys
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
144

Description

Jobs are failing with

```
Validator: unable to refresh the Validator. Error:Error: error: cannot lock ref 'refs/remotes/origin/test/privatelinksdk': 'refs/remotes/origin/test' exists; cannot create 'refs/remotes/origin/test/privatelinksdk'
From[ https://github.com/Azure/azure-rest-api-specs](https://github.com/Azure/azure-rest-api-specs)
! [new branch] test/privatelinksdk -> origin/test/privatelinksdk (unable to update local ref)
error: some local refs could not be updated; try running
'git remote prune origin' to remove any old, conflicting branches
```

Anything we can do if we see this error?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.