$ git clone -n https://gitee.com/opencloudos-stream/cfitsio.git /var/lib/mock/dist-ocs23-build-239022-21453/root/chroot_tmpdir/scmroot/cfitsio Cloning into '/var/lib/mock/dist-ocs23-build-239022-21453/root/chroot_tmpdir/scmroot/cfitsio'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/cfitsio * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f8ba5bd Rebuilt for loongarch release