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