$ git clone -n https://gitee.com/src-anolis-os/hamcrest.git /var/lib/mock/dist-an23-build-240076-62958/root/chroot_tmpdir/scmroot/hamcrest Cloning into '/var/lib/mock/dist-an23-build-240076-62958/root/chroot_tmpdir/scmroot/hamcrest'... $ git reset --hard origin/a23 HEAD is now at 4973998 init from upstream