$ git clone -n https://gitee.com/mgb01105731/python-dns.git /var/lib/mock/dist-an23-build-353557-71027/root/chroot_tmpdir/scmroot/python-dns Cloning into '/var/lib/mock/dist-an23-build-353557-71027/root/chroot_tmpdir/scmroot/python-dns'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/python-dns * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1d31f67 update to 2.5.0