$ git clone -n https://gitee.com/src-opencloudos-rpms/rng-tools.git /var/lib/mock/dist-oc8-build-38714-12629/root/chroot_tmpdir/scmroot/rng-tools Cloning into '/var/lib/mock/dist-oc8-build-38714-12629/root/chroot_tmpdir/scmroot/rng-tools'... $ git reset --hard origin/oc8 HEAD is now at 35ad2e3 import rng-tools-6.15-3.tl3