$ git clone -n https://gitee.com/src-anolis-os/libical.git /var/lib/mock/dist-an23-build-227754-62365/root/chroot_tmpdir/scmroot/libical Cloning into '/var/lib/mock/dist-an23-build-227754-62365/root/chroot_tmpdir/scmroot/libical'... $ git reset --hard origin/a23 HEAD is now at 48af1ef update to 3.0.16