$ git clone -n https://gitee.com/wenlylinux/wget.git /var/lib/mock/dist-an8.6-build-92638-45363/root/chroot_tmpdir/scmroot/wget Cloning into '/var/lib/mock/dist-an8.6-build-92638-45363/root/chroot_tmpdir/scmroot/wget'... $ git reset --hard 7b3d0f6290f20ea2d16f4b670a21254930f3c3ce HEAD is now at 7b3d0f6 update wget.spec.