$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/js.git /var/lib/mock/dist-an7-build-31508-15745/root/chroot_tmpdir/scmroot/js Cloning into '/var/lib/mock/dist-an7-build-31508-15745/root/chroot_tmpdir/scmroot/js'... $ git reset --hard origin/a7 HEAD is now at 45626c4 import js-1.8.5-20.el7.src.rpm