$ git clone -n https://gitee.com/mgb01105731/git-lfs.git /var/lib/mock/dist-an23.2-build-416208-72829/root/chroot_tmpdir/scmroot/git-lfs Cloning into '/var/lib/mock/dist-an23.2-build-416208-72829/root/chroot_tmpdir/scmroot/git-lfs'... $ git fetch origin a23.2:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/git-lfs * [new branch] a23.2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bb9c9a4 Refer to CentOS Stream git-lfs-3.6.1-1(opohorel@redhat.com)