$ git clone -n https://gitee.com/mgb01105731/gcc-toolset-10-gdb_3.git /var/lib/mock/dist-an23.2-build-399411-72342/root/chroot_tmpdir/scmroot/gcc-toolset-10-gdb_3 Cloning into '/var/lib/mock/dist-an23.2-build-399411-72342/root/chroot_tmpdir/scmroot/gcc-toolset-10-gdb_3'... $ git fetch origin ba82b27c871f04a397716854ac53b06c64f0cdfd:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/gcc-toolset-10-gdb_3 * [new ref] ba82b27c871f04a397716854ac53b06c64f0cdfd -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ba82b27 init upstream from 10