You are not logged in.
Hi, when I push my new package to the AUR Git gives me this error:
$ git push
Enumerating objects: 6, done.
Counting objects: 100% (6/6), done.
Delta compression using up to 8 threads
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 1.47 KiB | 1.47 MiB/s, done.
Total 6 (delta 0), reused 0 (delta 0), pack-reused 0
remote: error: pushing to a branch other than master is restricted
remote: error: hook declined to update refs/heads/main
To ssh://aur.archlinux.org/${mynewpackagename}.git
! [remote rejected] main -> main (hook declined)
error: failed to push some refs to 'ssh://aur.archlinux.org/${mynewpackagename}.git'
What can I do?
Last edited by PolpOnline (2021-06-05 13:01:19)
Offline
As it says, you can't push to a branch other than master. If this is for a new package, just clone it first then do your thing there.
Offline
Thanks for the fast reply!
I was just trying to push main instead of master, are there any chances to get main as accepted?
Offline
No
Offline
Mod note: moving to AUR Issues
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.
Offline
See https://bbs.archlinux.org/viewtopic.php?id=257186 for why master is required.
Offline