$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/latrace.git /var/lib/mock/dist-an7-build-31655-15780/root/chroot_tmpdir/scmroot/latrace Cloning into '/var/lib/mock/dist-an7-build-31655-15780/root/chroot_tmpdir/scmroot/latrace'... $ git reset --hard origin/a7 HEAD is now at b46aab8 import latrace-0.5.11-6.1.el7.src.rpm