$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/qrencode.git /var/lib/mock/dist-an7-build-32965-16149/root/chroot_tmpdir/scmroot/qrencode Cloning into '/var/lib/mock/dist-an7-build-32965-16149/root/chroot_tmpdir/scmroot/qrencode'... $ git reset --hard origin/a7 HEAD is now at 035243c import qrencode-3.4.1-3.el7.src.rpm