$ git clone -n https://gitee.com/src-opencloudos-rpms/git-lfs.git /var/lib/mock/dist-oc8-build-38300-12367/root/chroot_tmpdir/scmroot/git-lfs Cloning into '/var/lib/mock/dist-oc8-build-38300-12367/root/chroot_tmpdir/scmroot/git-lfs'... $ git reset --hard origin/oc8 HEAD is now at 2af2c6b import git-lfs-3.2.0-2.tl3