-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Describe the issue
When I use git LFS import, the following error is reported in the middle of import.
[root@kube-node1 kmd-generic.git]# git lfs migrate import --everything --above="100MB"
migrate: Sorting commits: ..., done.
encoding/hex: invalid byte: U+0073 's'15/894636)
System environment
Centos 8
Output of git lfs env
git-lfs/2.13.3 (GitHub; linux amd64; go 1.16.2; git a5e6585)
git version 2.32.0
Error reading git config: error running /usr/local/git/libexec/git-core/git 'rev-parse' '--is-bare-repository': 'fatal: not a git repository (or any of the parent directories): .git' 'exit status 128'
LocalWorkingDir=
LocalGitDir=
LocalGitStorageDir=
LocalMediaDir=lfs/objects
LocalReferenceDirs=
TempDir=lfs/tmp
ConcurrentTransfers=8
TusTransfers=false
BasicTransfersOnly=false
SkipDownloadErrors=false
FetchRecentAlways=false
FetchRecentRefsDays=7
FetchRecentCommitsDays=0
FetchRecentRefsIncludeRemotes=true
PruneOffsetDays=3
PruneVerifyRemoteAlways=false
PruneRemoteName=origin
LfsStorageDir=lfs
AccessDownload=none
AccessUpload=none
DownloadTransfers=basic,lfs-standalone-file
UploadTransfers=basic,lfs-standalone-file
GIT_EXEC_PATH=/usr/local/git/libexec/git-core
git config filter.lfs.process = ""
git config filter.lfs.smudge = ""
git config filter.lfs.clean = ""
Additional context
I'm using git LFS to migrate repo. I don't know the reason for this problem at all, and I haven't found a similar situation in others. So I can only ask this question for an answer.