$ git clone -n https://gitee.com/src-opencloudos-rpms/stalld.git /var/lib/mock/dist-oc8-build-38822-12852/root/chroot_tmpdir/scmroot/stalld Cloning into '/var/lib/mock/dist-oc8-build-38822-12852/root/chroot_tmpdir/scmroot/stalld'... $ git reset --hard origin/oc8 HEAD is now at 7b8dcb9 import stalld-1.17.1-1.oc8