$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/qimageblitz.git /var/lib/mock/dist-an7-build-32961-16149/root/chroot_tmpdir/scmroot/qimageblitz Cloning into '/var/lib/mock/dist-an7-build-32961-16149/root/chroot_tmpdir/scmroot/qimageblitz'... $ git reset --hard origin/a7 HEAD is now at 5a886d6 import qimageblitz-0.0.6-7.el7.src.rpm