You are not logged in.

#1 2025-08-18 18:32:49

V3
Member
Registered: 2023-08-24
Posts: 6

[SOLVED] Can't do forced push

I'm the only maintainer of the package (rusk), do next:

alex@arch ~/p/$/rusk (master)> AUR_OVERWRITE=1 git push --force

Enumerating objects: 7, done.
Counting objects: 100% (7/7), done.
Delta compression using up to 8 threads
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 507 bytes | 507.00 KiB/s, done.
Total 4 (delta 2), reused 0 (delta 0), pack-reused 0 (from 0)
remote: error: denying non-fast-forward (you should pull first)
remote: error: hook declined to update refs/heads/master
To ssh://aur.archlinux.org/rusk.git
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh://aur.archlinux.org/rusk.git'

What I do wrong?

Last edited by V3 (2025-08-19 21:40:40)

Offline

#2 2025-08-18 18:45:18

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,151

Re: [SOLVED] Can't do forced push

What you did wrong is force push. AUR doesn't allow that.

Offline

#3 2025-08-18 18:52:17

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,055
Website

Re: [SOLVED] Can't do forced push

I think the confusion comes from https://wiki.archlinux.org/title/Packag … it_history

Note that "Package Maintainer" doesn't refer to the maintainer of an AUR package.

https://wiki.archlinux.org/title/Package_Maintainers

If you need rewrite history on your package, submit a request on the aur-general mailing list, or reach out to a PM directly.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#4 2025-08-18 20:12:22

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

Re: [SOLVED] Can't do forced push

If you need to redact any private information feel free to let a moderator know and we can sort it out, you can't force push.

Offline

Board footer

Powered by FluxBB