$ git clone -n https://gitee.com/src-opencloudos-rpms/libtiff.git /var/lib/mock/dist-oc8-build-38337-12399/root/chroot_tmpdir/scmroot/libtiff Cloning into '/var/lib/mock/dist-oc8-build-38337-12399/root/chroot_tmpdir/scmroot/libtiff'... $ git reset --hard origin/oc8 HEAD is now at be2d9fa import libtiff-4.0.9-27.tl3