$ git clone -n https://gitee.com/src-anolis-os/python-dns.git /var/lib/mock/dist-an23-build-364593-71232/root/chroot_tmpdir/scmroot/python-dns Cloning into '/var/lib/mock/dist-an23-build-364593-71232/root/chroot_tmpdir/scmroot/python-dns'... $ git fetch origin a23.0:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/python-dns * [new branch] a23.0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9b8c742 update to 2.4.1