$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/mobile-broadband-provider-info.git /var/lib/mock/dist-an7-build-29195-15362/root/chroot_tmpdir/scmroot/mobile-broadband-provider-info Cloning into '/var/lib/mock/dist-an7-build-29195-15362/root/chroot_tmpdir/scmroot/mobile-broadband-provider-info'... $ git reset --hard origin/a7 HEAD is now at 6889fee import mobile-broadband-provider-info-1.20170310-1.el7.src.rpm