$ git clone -n https://gitee.com/opencloudos-stream/python-dns.git /var/lib/mock/dist-ocs23-build-28241-1191/root/chroot_tmpdir/scmroot/python-dns Cloning into '/var/lib/mock/dist-ocs23-build-28241-1191/root/chroot_tmpdir/scmroot/python-dns'... $ git fetch origin HEAD:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/python-dns * [new ref] -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f59a7b9 !1 upgrade to 2.3.0 Merge pull request !1 from nilusyi/master