$ git clone -n https://gitee.com/src-anolis-os/libgweather.git /var/lib/mock/dist-an8.7-build-237502-62522/root/chroot_tmpdir/scmroot/libgweather Cloning into '/var/lib/mock/dist-an8.7-build-237502-62522/root/chroot_tmpdir/scmroot/libgweather'... $ git reset --hard 3b53ff26776384c7c4ea9ea49572a2db54674d5f HEAD is now at 3b53ff2 update to libgweather-40.0