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