$ git clone -n https://gitee.com/src-anolis-os/netpbm.git /var/lib/mock/dist-an23-build-177342-59096/root/chroot_tmpdir/scmroot/netpbm Cloning into '/var/lib/mock/dist-an23-build-177342-59096/root/chroot_tmpdir/scmroot/netpbm'... $ git reset --hard origin/a23 HEAD is now at 9abd43a 11.00.00