$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/qt5-qtcanvas3d.git /var/lib/mock/dist-an7-build-32972-16151/root/chroot_tmpdir/scmroot/qt5-qtcanvas3d Cloning into '/var/lib/mock/dist-an7-build-32972-16151/root/chroot_tmpdir/scmroot/qt5-qtcanvas3d'... $ git reset --hard origin/a7 HEAD is now at d5d81e7 import qt5-qtcanvas3d-5.9.7-1.el7.src.rpm