AGit PR creation with LFS objects #14537

Open
opened 2025-11-02 11:15:36 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @AdamMajer on GitHub (Jun 2, 2025).

Feature Description

Currently, it's impossible to create PRs with LFS objects if you do not have write access to target repository,

> git push origin HEAD:refs/for/main/foobar
Remote "origin" does not support the Git LFS locking API. Consider disabling it with:
  $ git config lfs.https://demo.gitea.com/gnuman/test.git/info/lfs.locksverify false
batch request: error::   0% (0/1), 0 B | 0 B/s                                                                               
error: User: 1460:adamm2 with Key: 37:t is not authorized to write to gnuman/test.
error:: exit status 1
error: failed to push some refs to 'demo.gitea.com:gnuman/test.git'

Screenshots

No response

Originally created by @AdamMajer on GitHub (Jun 2, 2025). ### Feature Description Currently, it's impossible to create PRs with LFS objects if you do not have write access to target repository, ``` > git push origin HEAD:refs/for/main/foobar Remote "origin" does not support the Git LFS locking API. Consider disabling it with: $ git config lfs.https://demo.gitea.com/gnuman/test.git/info/lfs.locksverify false batch request: error:: 0% (0/1), 0 B | 0 B/s error: User: 1460:adamm2 with Key: 37:t is not authorized to write to gnuman/test. error:: exit status 1 error: failed to push some refs to 'demo.gitea.com:gnuman/test.git' ``` ### Screenshots _No response_
GiteaMirror added the type/proposal label 2025-11-02 11:15:36 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14537