$ git clone -n https://gitee.com/samchugit/python-fastapi.git /var/lib/mock/dist-an23-epao-build-374180-71610/root/chroot_tmpdir/scmroot/python-fastapi Cloning into '/var/lib/mock/dist-an23-epao-build-374180-71610/root/chroot_tmpdir/scmroot/python-fastapi'... $ git fetch origin d41f63420d64a871bb1592d39289eb98a45868a1:KOJI_FETCH_HEAD From https://gitee.com/samchugit/python-fastapi * [new ref] d41f63420d64a871bb1592d39289eb98a45868a1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d41f634 init package from upstream