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