$ git clone -n https://gitee.com/src-anolis-os/libjcat.git /var/lib/mock/dist-an23-build-239897-62946/root/chroot_tmpdir/scmroot/libjcat Cloning into '/var/lib/mock/dist-an23-build-239897-62946/root/chroot_tmpdir/scmroot/libjcat'... $ git reset --hard origin/a23 HEAD is now at e350f56 Init package from upstream