$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/alsa-firmware.git /var/lib/mock/dist-an7-build-27137-15141/root/chroot_tmpdir/scmroot/alsa-firmware Cloning into '/var/lib/mock/dist-an7-build-27137-15141/root/chroot_tmpdir/scmroot/alsa-firmware'... $ git reset --hard origin/a7 HEAD is now at 32884d2 import alsa-firmware-1.0.28-2.el7.src.rpm