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