$ git clone -n https://gitee.com/fundawang/libgweather.git /var/lib/mock/dist-an23-build-178866-59120/root/chroot_tmpdir/scmroot/libgweather Cloning into '/var/lib/mock/dist-an23-build-178866-59120/root/chroot_tmpdir/scmroot/libgweather'... $ git reset --hard 7d98a5dd77ef94b3c749481d7c58f8092255ed5f HEAD is now at 7d98a5d 4.2.0