$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/prometheus-jmx-exporter /var/lib/mock/dist-an8.4-build-23769-13199/root/chroot_tmpdir/scmroot/prometheus-jmx-exporter Cloning into '/var/lib/mock/dist-an8.4-build-23769-13199/root/chroot_tmpdir/scmroot/prometheus-jmx-exporter'... $ git reset --hard origin/a8 HEAD is now at ab0fb1f update to prometheus-jmx-exporter-0.12.0-6.el8.src.rpm