$ git clone -n https://gitee.com/src-opencloudos-rpms/gcc-toolset-14-gdb.git /var/lib/mock/dist-oc8-build-119469-70491/root/chroot_tmpdir/scmroot/gcc-toolset-14-gdb Cloning into '/var/lib/mock/dist-oc8-build-119469-70491/root/chroot_tmpdir/scmroot/gcc-toolset-14-gdb'... $ git fetch origin 876af376e66de4951db639a2949f719296dfd598:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/gcc-toolset-14-gdb * [new ref] 876af376e66de4951db639a2949f719296dfd598 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 876af37 import gcc-toolset-14-gdb-14.2-3.tl3