$ git clone -n https://gitee.com/src-anolis-os/gcc-toolset-10-gcc.git /var/lib/mock/dist-an8.4-gcc-toolset-10-build-294668-65742/root/chroot_tmpdir/scmroot/gcc-toolset-10-gcc Cloning into '/var/lib/mock/dist-an8.4-gcc-toolset-10-build-294668-65742/root/chroot_tmpdir/scmroot/gcc-toolset-10-gcc'... $ git fetch origin a8-10.2.1-3.5:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/gcc-toolset-10-gcc * [new branch] a8-10.2.1-3.5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 847fd94 add scl prefix for files