$ git clone -n https://gitee.com/src-anolis-os/parted.git /var/lib/mock/dist-an8-build-70240-37247/root/chroot_tmpdir/scmroot/parted Cloning into '/var/lib/mock/dist-an8-build-70240-37247/root/chroot_tmpdir/scmroot/parted'... $ git reset --hard origin/a8 HEAD is now at 2b02a7e update to parted-3.2-39.el8