$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/media-player-info.git /var/lib/mock/dist-an7-build-32325-15972/root/chroot_tmpdir/scmroot/media-player-info Cloning into '/var/lib/mock/dist-an7-build-32325-15972/root/chroot_tmpdir/scmroot/media-player-info'... $ git reset --hard origin/a7 HEAD is now at 7a4baf5 import media-player-info-17-4.el7.src.rpm