$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/rsh.git /var/lib/mock/dist-an7-updates-build-43329-21689/root/chroot_tmpdir/scmroot/rsh Cloning into '/var/lib/mock/dist-an7-updates-build-43329-21689/root/chroot_tmpdir/scmroot/rsh'... $ git reset --hard origin/a7 HEAD is now at 3dc8473 update to rsh-0.17-80.el7.src.rpm