$ git clone -n https://gitee.com/src-anolis-os/jai-imageio-core.git /var/lib/mock/dist-an7-build-61121-33850/root/chroot_tmpdir/scmroot/jai-imageio-core Cloning into '/var/lib/mock/dist-an7-build-61121-33850/root/chroot_tmpdir/scmroot/jai-imageio-core'... $ git reset --hard origin/a7 HEAD is now at fdfcd4a import jai-imageio-core-1.2-0.14.20100217cvs.el7.src.rpm