$ git clone -n https://gitee.com/src-opencloudos-rpms/pykickstart /var/lib/mock/dist-oc8-build-30654-9139/root/chroot_tmpdir/scmroot/pykickstart Cloning into '/var/lib/mock/dist-oc8-build-30654-9139/root/chroot_tmpdir/scmroot/pykickstart'... $ git reset --hard origin/oc8 HEAD is now at 094a01f import pykickstart-3.16.15-1.oc8