$ git clone -n https://gitee.com/src-opencloudos-rpms/opencloudos-tools.git /var/lib/mock/dist-oc8-build-36111-11760/root/chroot_tmpdir/scmroot/opencloudos-tools Cloning into '/var/lib/mock/dist-oc8-build-36111-11760/root/chroot_tmpdir/scmroot/opencloudos-tools'... $ git reset --hard origin/oc8 HEAD is now at a233e8b add sources