$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/soundtouch.git /var/lib/mock/dist-an7-build-30352-15494/root/chroot_tmpdir/scmroot/soundtouch Cloning into '/var/lib/mock/dist-an7-build-30352-15494/root/chroot_tmpdir/scmroot/soundtouch'... $ git reset --hard origin/a7 HEAD is now at ca60d9c import soundtouch-1.4.0-9.el7.src.rpm