$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/cal10n.git /var/lib/mock/dist-an7-build-27303-15154/root/chroot_tmpdir/scmroot/cal10n Cloning into '/var/lib/mock/dist-an7-build-27303-15154/root/chroot_tmpdir/scmroot/cal10n'... $ git reset --hard origin/a7 HEAD is now at fb86c6b import cal10n-0.7.7-4.el7.src.rpm