$ git clone -n https://gitee.com/wenyuzifang/python-rpmautospec-core.git /var/lib/mock/dist-an23-build-464204-73881/root/chroot_tmpdir/scmroot/python-rpmautospec-core Cloning into '/var/lib/mock/dist-an23-build-464204-73881/root/chroot_tmpdir/scmroot/python-rpmautospec-core'... $ git fetch origin d70510870ef39fd7eca0ecaad7e59ecd12d520dc:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/python-rpmautospec-core * [new ref] d70510870ef39fd7eca0ecaad7e59ecd12d520dc -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d705108 Update code from upstream