$ git clone -n https://gitee.com/guost123/atlas.git /var/lib/mock/dist-an23-build-488413-74434/root/chroot_tmpdir/scmroot/atlas Cloning into '/var/lib/mock/dist-an23-build-488413-74434/root/chroot_tmpdir/scmroot/atlas'... $ git fetch origin dc80e616da435c19f7328861c079b5f0e23dbd04:KOJI_FETCH_HEAD From https://gitee.com/guost123/atlas * [new ref] dc80e616da435c19f7328861c079b5f0e23dbd04 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at dc80e61 fix build error when build with gcc14 on riscv64