$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/openssl.git /var/lib/mock/dist-an7-build-29398-15386/root/chroot_tmpdir/scmroot/openssl Cloning into '/var/lib/mock/dist-an7-build-29398-15386/root/chroot_tmpdir/scmroot/openssl'... $ git reset --hard origin/a7 HEAD is now at dcfaa5e import openssl-1.0.2k-19.el7.src.rpm