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