$ git clone -n https://gitee.com/mgb01105731/cloud-init_1.git /var/lib/mock/dist-an23-build-324688-68621/root/chroot_tmpdir/scmroot/cloud-init_1 Cloning into '/var/lib/mock/dist-an23-build-324688-68621/root/chroot_tmpdir/scmroot/cloud-init_1'... $ git reset --hard origin/a23 HEAD is now at 9131778 update to version 23.2.1