Git LFS可以拉,但不能再推了 [英] Git LFS can pull but cant push anymore

查看:895
本文介绍了Git LFS可以拉,但不能再推了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最初在GitHub LFS项目上开了一张票,详细说明了问题

I had originally opened a ticket on GitHub LFS Project which goes into great detail of the issue

https://github.com/git-lfs/git-lfs / issues / 1858

https://github.com/git-lfs/git-lfs/issues/1858

------------------------------

------------------------------

我一直在使用git lfs一段时间就好了,即使最初的推送没有问题。突然之间,我再也无法进入存储库了。我可以拉得很好,git可以很好地与服务器通信。但是在一个相当模糊的错误消息中推送结果

I had been using git lfs for a while now just fine, even the initial push went problem free. All of a sudden I'm no longer able to push to the repository anymore. I can pull just fine and git can communicate with the server just fine. But pushing results in a rather vague error message.

这是完整的细分

日志文件

git-lfs/1.5.3 (GitHub; windows amd64; go 1.7.4; git 23455e48)
git version 2.11.0.windows.1

$ git-lfs pre-push origin https://wiseguy12851.visualstudio.com/_git/shooter-new
batch response: Fatal error: Server error: https://wiseguy12851.visualstudio.com/_git/shooter-new.git/info/lfs/objects/batch
batch response: Fatal error: Server error: https://wiseguy12851.visualstudio.com/_git/shooter-new.git/info/lfs/objects/batch

batch response: Fatal error: Server error: https://wiseguy12851.visualstudio.com/_git/shooter-new.git/info/lfs/objects/batch
github.com/git-lfs/git-lfs/errors.newWrappedError
        C:/Go/src/github.com/git-lfs/git-lfs/errors/types.go:166
github.com/git-lfs/git-lfs/errors.Wrap
        C:/Go/src/github.com/git-lfs/git-lfs/errors/errors.go:73
github.com/git-lfs/git-lfs/api.Batch
        C:/Go/src/github.com/git-lfs/git-lfs/api/api.go:105
github.com/git-lfs/git-lfs/lfs.(*TransferQueue).batchApiRoutine
        C:/Go/src/github.com/git-lfs/git-lfs/lfs/transfer_queue.go:426
runtime.goexit
        C:/Go/src/runtime/asm_amd64.s:2086

ENV:
LocalWorkingDir=H:\Projects\Unity\shooter-new
LocalGitDir=H:\Projects\Unity\shooter-new\.git
LocalGitStorageDir=H:\Projects\Unity\shooter-new\.git
LocalMediaDir=H:\Projects\Unity\shooter-new\.git\lfs\objects
LocalReferenceDir=
TempDir=H:\Projects\Unity\shooter-new\.git\lfs\tmp
ConcurrentTransfers=3
TusTransfers=false
BasicTransfersOnly=false
BatchTransfer=true
SkipDownloadErrors=false
FetchRecentAlways=false
FetchRecentRefsDays=7
FetchRecentCommitsDays=0
FetchRecentRefsIncludeRemotes=true
PruneOffsetDays=3
PruneVerifyRemoteAlways=false
PruneRemoteName=origin
AccessDownload=basic
AccessUpload=basic
DownloadTransfers=basic
UploadTransfers=basic
GIT_LFS_PATH=C:\Program Files\Git LFS
GIT_PREFIX=


完整环境

git-lfs/1.5.3 (GitHub; windows amd64; go 1.7.4; git 23455e48)
git version 2.11.0.windows.1

Endpoint=https://wiseguy12851.visualstudio.com/_git/shooter-new.git/info/lfs (auth=basic)
LocalWorkingDir=H:\Projects\Unity\shooter-new
LocalGitDir=H:\Projects\Unity\shooter-new\.git
LocalGitStorageDir=H:\Projects\Unity\shooter-new\.git
LocalMediaDir=H:\Projects\Unity\shooter-new\.git\lfs\objects
LocalReferenceDir=
TempDir=H:\Projects\Unity\shooter-new\.git\lfs\tmp
ConcurrentTransfers=3
TusTransfers=false
BasicTransfersOnly=false
BatchTransfer=true
SkipDownloadErrors=false
FetchRecentAlways=false
FetchRecentRefsDays=7
FetchRecentCommitsDays=0
FetchRecentRefsIncludeRemotes=true
PruneOffsetDays=3
PruneVerifyRemoteAlways=false
PruneRemoteName=origin
AccessDownload=basic
AccessUpload=basic
DownloadTransfers=basic
UploadTransfers=basic
GIT_LFS_PATH=C:\Program Files\Git LFS
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"


使用git push

Git LFS: (0 of 171 files) 0 B / 22.86 MB
batch response: Fatal error: Server error: https://wiseguy12851.visualstudio.com/_git/shooter-new.git/info/lfs/objects/batch

Errors logged to H:\Projects\Unity\shooter-new\.git\lfs\objects\logs\20170113T132531.1784001.log
Use `git lfs logs last` to view the log.
batch response: Fatal error: Server error: https://wiseguy12851.visualstudio.com/_git/shooter-new.git/info/lfs/objects/batch

Errors logged to H:\Projects\Unity\shooter-new\.git\lfs\objects\logs\20170113T132531.1869072.log
Use `git lfs logs last` to view the log.
error: failed to push some refs to 'https://wiseguy12851.visualstudio.com/_git/shooter-new'


并使用git pull工作

Already up-to-date.

此外,在进一步挖掘之后,我们深陷了服务器通信深处的这个障碍

Additionally, after further digging we hit this snag buried deep within server communication

TF200016:以下项目不存在:shooter-new.git。验证项目名称是否正确以及项目是否存在于指定的Team Foundation Server上。

哪些支持已撤消进一步的帮助,并要求我在这里寻找答案。问题是,就像我说的那样,我可以拉得很好,我的存储库确实存在,并且远程网址没有改变任何设置。在线查看我的回购,远程
https url也与我在本地的回复相同。

which support retracted further help and asked I look over here for answers. The thing is, like I said, I can pull and fetch just fine, my repository does exist, and the remote url has not changed any nor has any settings. Viewing my repo online the remote https url is also the same as what I have locally.




推荐答案

你好,

我们正在检查查询,很快就会回复你。我为此道歉在此问题上给您带来不便并感谢您的时间和耐心。

We are checking on the query and would get back to you soon on this. I apologize for the inconvenience and appreciate your time and patience in this matter.

问候,

Sumanth BM

Regards,
Sumanth BM


这篇关于Git LFS可以拉,但不能再推了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆