$ git clone -n https://gitee.com/mgb01105731/gcc-toolset-10-gdb_3.git /var/lib/mock/dist-an23.2-gcc-toolset-10-build-399525-72352/root/chroot_tmpdir/scmroot/gcc-toolset-10-gdb_3 Cloning into '/var/lib/mock/dist-an23.2-gcc-toolset-10-build-399525-72352/root/chroot_tmpdir/scmroot/gcc-toolset-10-gdb_3'... $ git fetch origin a8:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/gcc-toolset-10-gdb_3 * [new branch] a8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ce6fddf import gcc-toolset-10-gdb-9.2-4.el8.src.rpm