$ git clone -n https://gitee.com/mgb01105731/git-lfs.git /var/lib/mock/dist-an23.2-build-418965-72880/root/chroot_tmpdir/scmroot/git-lfs Cloning into '/var/lib/mock/dist-an23.2-build-418965-72880/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 b48fce4 test