~sircmpwn/sr.ht-discuss

2 2

Cannot remove remote branch

Details
Message ID
<CU1OYTG7XQY9.3O47AP7X3T55Y@tumbleweed-pkg.stitny>
DKIM signature
missing
Download raw message
Hello,

trying to remove a remote branch entry_points on my
https://git.sr.ht/~mcepl/osc repo, but although I have access
rights to the repository (as you can see, I can push force to
it), Sourcehut claims I don’t rights to delete a branch. What’s
up?

    tumbleweed-pkg~/r/osc (git-support-in-service-command)$ git push -f
    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), 1.06 KiB | 1.06 MiB/s, done.
    Total 4 (delta 3), reused 0 (delta 0), pack-reused 0
    To git.sr.ht:~mcepl/osc
     + 6b9c2c9e...81f93b29 git-support-in-service-command -> git-support-in-service-command (forced update)
    tumbleweed-pkg~/r/osc (git-support-in-service-command)$ git push --help
    tumbleweed-pkg~/r/osc (git-support-in-service-command)$ git branch -a|grep sourcehut
      remotes/sourcehut/colordiff
      remotes/sourcehut/entry_points
      remotes/sourcehut/fix-lbl
      remotes/sourcehut/git-support-in-service-command
      remotes/sourcehut/master
      remotes/sourcehut/python3
      remotes/sourcehut/setuptools
    tumbleweed-pkg~/r/osc (git-support-in-service-command)$ git push sourcehut :entry_points 
    kex_exchange_identification: read: Connection reset by peer
    Connection reset by 173.195.146.142 port 22
    fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.
    tumbleweed-pkg~/r/osc (git-support-in-service-command)$ 

Thank you for any help,

Matěj
-- 
https://matej.ceplovi.cz/blog/, @mcepl@floss.social
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
 
God is not worried about my financial situation.
Details
Message ID
<ZLD22bPWDGzy7zuB@gpm.stappers.nl>
In-Reply-To
<CU1OYTG7XQY9.3O47AP7X3T55Y@tumbleweed-pkg.stitny> (view parent)
DKIM signature
missing
Download raw message
On Fri, Jul 14, 2023 at 08:51:22AM +0200, Matěj Cepl wrote:
> trying to remove a remote branch entry_points on my
> https://git.sr.ht/~mcepl/osc repo, but although I have access
> rights to the repository (as you can see, I can push force to
> it), Sourcehut claims I don’t rights to delete a branch.
> What’s up?
             .... 
>     tumbleweed-pkg~/r/osc (git-support-in-service-command)$

 git push sourcehut :entry_points 

Note the :
 
>     kex_exchange_identification: read: Connection reset by peer
>     Connection reset by 173.195.146.142 port 22
>     fatal: Could not read from remote repository.
> 
>     Please make sure you have the correct access rights
>     and the repository exists.
>     tumbleweed-pkg~/r/osc (git-support-in-service-command)$ 
> 
> Thank you for any help,

Report back how it goes without the  :

 
> Matěj

> God is not worried about my financial situation.

True


Groeten
Geert Stappers
-- 
Silence is hard to parse
Details
Message ID
<g47sdn6xccmtx53qlvpdyryko3uzwhfyqfglctzuxlnwo2ox77@5jqfcalynlqb>
In-Reply-To
<ZLD22bPWDGzy7zuB@gpm.stappers.nl> (view parent)
DKIM signature
missing
Download raw message
On 23-07-14 09:18:49, Geert Stappers wrote:
> On Fri, Jul 14, 2023 at 08:51:22AM +0200, Matěj Cepl wrote:
> > trying to remove a remote branch entry_points on my
> > https://git.sr.ht/~mcepl/osc repo, but although I have access

> Note the :
>  
> >     Please make sure you have the correct access rights
> >     and the repository exists.
> >     tumbleweed-pkg~/r/osc (git-support-in-service-command)$ 

Is pushing over HTTPS even supported on sourcehut?

Geert try pushing over git+ssh and see if it works.

/Marius
Reply to thread Export thread (mbox)