You are not logged in.

#1 2024-01-09 18:09:33

druidamix
Member
Registered: 2023-11-27
Posts: 4

How to recreate my local git repository, for my osd-bin package

Hello,

I deleted my .git local repository for my osd-bin package.

I tried using aur submission guidelines: https://wiki.archlinux.org/title/AUR_su … guidelines.



If you already have a package, initialize it as a Git repository if it is not one:

$ git -c init.defaultBranch=master init
and add an AUR remote:

$ git remote add osd-bin ssh://aur@aur.archlinux.org/osd-bin.git
Then fetch this remote to initialize it in the AUR.

Note: Pull and rebase to resolve conflicts if pkgbase matches a deleted package.

git says:

git push
fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use

    git push --set-upstream osd-bin master

To have this happen automatically for branches without a tracking
upstream, see 'push.autoSetupRemote' in 'git help config'.


It doesn't work.

Can anyone guide me how to generate the git repository so I can upgrade my package.

Thank.s

Offline

#2 2024-01-09 18:41:43

druidamix
Member
Registered: 2023-11-27
Posts: 4

Re: How to recreate my local git repository, for my osd-bin package

Resolved.

Following this tutorial: https://madskjeldgaard.dk/posts/aur-package-workflow/

Offline

#3 2024-01-10 10:01:41

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,616

Re: How to recreate my local git repository, for my osd-bin package

Then fetch this remote to initialize it in the AUR.

Why did you try to run git push instead of git fetch ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB