$ git clone -n https://gitee.com/src-anolis-os/libgweather.git /var/lib/mock/dist-an8-build-68118-37229/root/chroot_tmpdir/scmroot/libgweather Cloning into '/var/lib/mock/dist-an8-build-68118-37229/root/chroot_tmpdir/scmroot/libgweather'... $ git reset --hard origin/a8 HEAD is now at 74f0dac update to libgweather-3.28.2-4.el8