$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/opencryptoki.git /var/lib/mock/dist-an7-build-32474-16018/root/chroot_tmpdir/scmroot/opencryptoki Cloning into '/var/lib/mock/dist-an7-build-32474-16018/root/chroot_tmpdir/scmroot/opencryptoki'... $ git reset --hard origin/a7 HEAD is now at d1cbf46 update to opencryptoki-3.11.0-5.el7_7.src.rpm