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