$ git clone -n https://gitee.com/src-opencloudos-rpms/initscripts /var/lib/mock/dist-oc8-build-32534-9797/root/chroot_tmpdir/scmroot/initscripts Cloning into '/var/lib/mock/dist-oc8-build-32534-9797/root/chroot_tmpdir/scmroot/initscripts'... $ git reset --hard origin/oc8 HEAD is now at 31e2edd import initscripts-10.00.18-1.tl3