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