$ git clone -n https://gitee.com/src-anolis-os/gcc-toolset-10-gdb.git /var/lib/mock/dist-an8.9-build-389390-72013/root/chroot_tmpdir/scmroot/gcc-toolset-10-gdb Cloning into '/var/lib/mock/dist-an8.9-build-389390-72013/root/chroot_tmpdir/scmroot/gcc-toolset-10-gdb'... $ git fetch origin a8:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/gcc-toolset-10-gdb * [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