$ git clone -n https://gitee.com/src-anolis-sig/loongarch-kernel.git /var/lib/mock/dist-an8.10-build-463900-73859/root/chroot_tmpdir/scmroot/loongarch-kernel Cloning into '/var/lib/mock/dist-an8.10-build-463900-73859/root/chroot_tmpdir/scmroot/loongarch-kernel'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-sig/loongarch-kernel * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ae438b6 rpmspec: drop traceevent files instead of just excluding them from files list