add the git lfs lock to GitHub repo lfs #202678
Replies: 2 comments
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
|
GitHub does support Git LFS file locking, so an There are two separate Git LFS operations here:
If this repository does not use file lockingUse the client-suggested setting, but scope it to this clone rather than git config --local lfs.https://github.com/photonest3/Community.git/info/lfs.locksverify false
git config --local --get lfs.https://github.com/photonest3/Community.git/info/lfs.locksverifyThe second command should print This setting skips only the pre-push lock check. It does not disable Git To undo the repository-local workaround: git config --local --unset lfs.https://github.com/photonest3/Community.git/info/lfs.locksverifyIf the team does use
|
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Product Feedback
Body
Describe the issue
A clear and concise description of why you wrote in today.
https://github.com/photonest3/Community.git/info/lfs/locks/verify
Remote "origin" does not support the Git LFS locking API. Consider disabling it with:
$ git config lfs.https://github.com/photonest3/Community.git/info/lfs.locksverify false
Post "https://github.com/photonest3/Community.git/info/lfs/locks/verify": EOF
System environment
The version of your operating system, plus any relevant information about platform or configuration (e.g., container or CI usage, Cygwin, WSL, or non-Basic authentication). If relevant, include the output of git config -l as a code block.
Windows 11 Powershell
Chocolatey git,etc
Output of git lfs env
The output of running git lfs env as a code block.
git-lfs/3.7.1 (GitHub; windows amd64; go 1.25.1; git git-lfs/git-lfs@b84b338)
git version 2.55.0.windows.3
Endpoint=https://github.com/photonest3/Community.git/info/lfs (auth=basic)
Endpoint (china)=https://gitee.com/photonest3/community.git/info/lfs (auth=none)
LocalWorkingDir=D:\Community
LocalGitDir=D:\Community.git
LocalGitStorageDir=D:\Community.git
LocalMediaDir=D:\Community.git\lfs\objects
LocalReferenceDirs=
TempDir=D:\Community.git\lfs\tmp
ConcurrentTransfers=8
TusTransfers=false
BasicTransfersOnly=false
SkipDownloadErrors=false
FetchRecentAlways=false
FetchRecentRefsDays=7
FetchRecentCommitsDays=0
FetchRecentRefsIncludeRemotes=true
PruneOffsetDays=3
PruneVerifyRemoteAlways=false
PruneVerifyUnreachableAlways=false
PruneRemoteName=origin
LfsStorageDir=D:\Community.git\lfs
AccessDownload=basic
AccessUpload=basic
DownloadTransfers=basic,lfs-standalone-file,ssh
UploadTransfers=basic,lfs-standalone-file,ssh
GIT_EXEC_PATH=C:/Program Files/Git/mingw64/libexec/git-core
git config filter.lfs.process = "git-lfs filter-process"
git config filter.lfs.smudge = "git-lfs smudge -- %f"
git config filter.lfs.clean = "git-lfs clean -- %f"
Additional context
Any other relevant context about the problem here.
since git lfs lock feature is made in 2017, so the problem need be solved by the git and github relation group.
because github user big, and git lfs lock return 405 or EOF is not happy.
All reactions