$ git clone -n https://gitee.com/fundawang/python-aiohttp.git /var/lib/mock/dist-an23-build-351919-70946/root/chroot_tmpdir/scmroot/python-aiohttp Cloning into '/var/lib/mock/dist-an23-build-351919-70946/root/chroot_tmpdir/scmroot/python-aiohttp'... $ git fetch origin 18f66d5b66143f264ffad4e2249133f210c442c6:KOJI_FETCH_HEAD From https://gitee.com/fundawang/python-aiohttp * [new ref] 18f66d5b66143f264ffad4e2249133f210c442c6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 18f66d5 3.8.6