$ git clone -n https://gitee.com/src-opencloudos-rpms/rpm.git /var/lib/mock/dist-oc8-build-38495-12491/root/chroot_tmpdir/scmroot/rpm Cloning into '/var/lib/mock/dist-oc8-build-38495-12491/root/chroot_tmpdir/scmroot/rpm'... $ git reset --hard origin/oc8 HEAD is now at 4711e4b import rpm-4.14.3-26.tl3