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