$ git clone -n https://gitee.com/wb-qtt862918/ostree.git /var/lib/mock/dist-an8.7-build-250487-62522/root/chroot_tmpdir/scmroot/ostree Cloning into '/var/lib/mock/dist-an8.7-build-250487-62522/root/chroot_tmpdir/scmroot/ostree'... $ git reset --hard b1c717b46d927b08934e659ff82293326946f480 HEAD is now at b1c717b 2023.1