$ git clone -n https://gitee.com/src-anolis-os/popt.git /var/lib/mock/dist-an23-build-78224-40553/root/chroot_tmpdir/scmroot/popt Cloning into '/var/lib/mock/dist-an23-build-78224-40553/root/chroot_tmpdir/scmroot/popt'... $ git reset --hard origin/a23 HEAD is now at 559bb3f Init for Anolis OS 23