$ git clone -n https://gitee.com/src-anolis-os/yelp.git /var/lib/mock/dist-an23-build-176680-59086/root/chroot_tmpdir/scmroot/yelp Cloning into '/var/lib/mock/dist-an23-build-176680-59086/root/chroot_tmpdir/scmroot/yelp'... $ git reset --hard origin/a23 HEAD is now at e136474 42.2