$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/dvgrab.git /var/lib/mock/dist-an7-build-27578-15183/root/chroot_tmpdir/scmroot/dvgrab Cloning into '/var/lib/mock/dist-an7-build-27578-15183/root/chroot_tmpdir/scmroot/dvgrab'... $ git reset --hard origin/a7 HEAD is now at 51c5b59 import dvgrab-3.5-9.el7.src.rpm