$ git clone -n https://gitee.com/lizhao2025/python-dns.git /var/lib/mock/dist-an23-build-500496-74764/root/chroot_tmpdir/scmroot/python-dns Cloning into '/var/lib/mock/dist-an23-build-500496-74764/root/chroot_tmpdir/scmroot/python-dns'... $ git fetch origin bf002dce571ff06fed3428ce6d90d8f84c83ea74:KOJI_FETCH_HEAD From https://gitee.com/lizhao2025/python-dns * [new ref] bf002dce571ff06fed3428ce6d90d8f84c83ea74 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bf002dc Update code from upstream