$ git clone -n https://gitee.com/src-opencloudos-rpms/librhsm.git /var/lib/mock/dist-oc8-build-38555-12532/root/chroot_tmpdir/scmroot/librhsm Cloning into '/var/lib/mock/dist-oc8-build-38555-12532/root/chroot_tmpdir/scmroot/librhsm'... $ git reset --hard origin/oc8 HEAD is now at fdde648 import librhsm-0.0.3-5.tl3