$ git clone -n https://gitee.com/wenyuzifang/python-rfc3986.git /var/lib/mock/dist-an23-build-486472-74383/root/chroot_tmpdir/scmroot/python-rfc3986 Cloning into '/var/lib/mock/dist-an23-build-486472-74383/root/chroot_tmpdir/scmroot/python-rfc3986'... $ git fetch origin 022daa8f65fe10c7ad5d7168291d5e4d540e8450:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/python-rfc3986 * [new ref] 022daa8f65fe10c7ad5d7168291d5e4d540e8450 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 022daa8 Update code from upstream