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