$ git clone -n https://gitee.com/src-anolis-os/parted.git /mnt/koji-mock/dist-an23-sw8a-build-462920-73819/root/chroot_tmpdir/scmroot/parted Cloning into '/mnt/koji-mock/dist-an23-sw8a-build-462920-73819/root/chroot_tmpdir/scmroot/parted'... $ git reset --hard origin/a23 HEAD is now at 3eb9016 update to 3.6