$ git clone -n https://gitee.com/src-anolis-os/parted.git /var/lib/mock/dist-an23-build-127366-46192/root/chroot_tmpdir/scmroot/parted Cloning into '/var/lib/mock/dist-an23-build-127366-46192/root/chroot_tmpdir/scmroot/parted'... $ git reset --hard origin/a23 HEAD is now at ca3c5de update to 3.5