You are not logged in.

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

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

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: 3

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
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,812

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.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB