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