$ git clone -n https://gitee.com/src-opencloudos-rpms/nispor.git /var/lib/mock/dist-oc8-build-38255-12354/root/chroot_tmpdir/scmroot/nispor Cloning into '/var/lib/mock/dist-oc8-build-38255-12354/root/chroot_tmpdir/scmroot/nispor'... $ git reset --hard origin/oc8 HEAD is now at 1f98db0 import nispor-1.2.10-1.tl3