$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/js-d3-flame-graph.git /var/lib/mock/dist-an8.4-build-20188-8887/root/chroot_tmpdir/scmroot/js-d3-flame-graph Cloning into '/var/lib/mock/dist-an8.4-build-20188-8887/root/chroot_tmpdir/scmroot/js-d3-flame-graph'... $ git reset --hard origin/a8 HEAD is now at 102f6b5 import js-d3-flame-graph-3.0.2-2.el8.src.rpm