$ git clone -n https://gitee.com/src-opencloudos-rpms/prometheus-jmx-exporter.git /var/lib/mock/dist-oc8-build-34068-10562/root/chroot_tmpdir/scmroot/prometheus-jmx-exporter Cloning into '/var/lib/mock/dist-oc8-build-34068-10562/root/chroot_tmpdir/scmroot/prometheus-jmx-exporter'... $ git reset --hard origin/oc8 HEAD is now at 7709e10 import prometheus-jmx-exporter-0.12.0-9.oc8