$ git clone -n https://gitee.com/zhangwenlong01/rest.git /var/lib/mock/dist-an23.4-build-505753-74842/root/chroot_tmpdir/scmroot/rest Cloning into '/var/lib/mock/dist-an23.4-build-505753-74842/root/chroot_tmpdir/scmroot/rest'... $ git fetch origin 78527a04a5cb8f77beab42fd1482f72265f2deb7:KOJI_FETCH_HEAD From https://gitee.com/zhangwenlong01/rest * [new ref] 78527a04a5cb8f77beab42fd1482f72265f2deb7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 78527a0 rebuild for loongarch64