When I use jfrog rt glc it wants to delete all of the artifacts in the gitlfs repo in artifactory. But I have still one file in the local git repo!
E:\test-scripts>jfrog rt glc
[Info] Searching files from Artifactory repository lfs-local …
[Info] Collecting files to preserve from Git references matching the pattern refs/remotes/* …
[Info] Found 0 files to keep, and 3 to clean
4ee3d767d9126308d6bcf7b7290e85614a83fe51a9d84e765b9b7f4359f79fce
118feab626439e11e6ef3d3d12b3d297c0cccffaf2e34e5b5be7e4276c28678c
cbeffb41253da58f8924423f22a9bd53802633925664d68c46e6bfffd506a33d
Are you sure you want to delete the above files? (y/n):E:\test-scripts>git lfs ls-files
4ee3d767d9 * xmlstarlet-1.6.1-win32.zip
jfrog rt glc is not looking for the right directory!
git lfs places the artifacts in the directory lfs\objects* and not in refs/remotes/*
The command jfrog rt glc --refs='.git\lfs\objects*' gives the same output.
dir .git\lfs\objects* /s E:\test-scripts.git\lfs\objects\4e\e3 4ee3d767d9126308d6bcf7b7290e85614a83fe51a9d84e765b9b7f4359f79fce
There is still 1 file in '.git\lfs\objects*'
Anyone experience with this?