$ git clone -n https://gitee.com/zhangwenlong01/ostree.git /var/lib/mock/dist-an23-build-344649-70099/root/chroot_tmpdir/scmroot/ostree Cloning into '/var/lib/mock/dist-an23-build-344649-70099/root/chroot_tmpdir/scmroot/ostree'... $ git reset --hard bde92813ae3b7b2e1baa428d0f727a090fcd4d31 HEAD is now at bde9281 fix install error for loongarch64