You are not logged in.

#1 2025-09-01 13:02:15

GeneArch
Member
Registered: 2013-07-28
Posts: 104

git remote warnings about broken refs when doing git push

Recently when I push changes of my py-cidr package to aur I get the following warnings from git:

  remote: warning: ignoring broken ref refs/heads/idos-timetable-tariff-chaps-all-latest
  remote: warning: ignoring broken ref refs/namespaces/idos-timetable-tariff-chaps-all-latest/HEAD
  remote: warning: ignoring broken ref refs/namespaces/idos-timetable-tariff-chaps-all-latest/refs/heads/master

None of those refs are in my local repo  and  refs/namespaces doesn't even exist.

Based on the git logs this seems to have started happening between July 17 and Aug 31.
All earlier git push had no such warnings.

This looks sensible too
$ git ls-remote origin
  97f948726bcbe4ffca36d9494749dc5ce751544c    HEAD
  97f948726bcbe4ffca36d9494749dc5ce751544c    refs/heads/master

Any suggestions how to sort this one out?

Offline

#2 2025-09-01 13:09:13

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,348
Website

Re: git remote warnings about broken refs when doing git push

This is an issue with the AUR setup, see https://gitlab.archlinux.org/archlinux/ … issues/705

Offline

#3 2025-09-01 13:15:03

GeneArch
Member
Registered: 2013-07-28
Posts: 104

Re: git remote warnings about broken refs when doing git push

Ah thank you @gromit -  very helpful.

Offline

Board footer

Powered by FluxBB