$ git clone -n https://gitee.com/src-anolis-os/wget.git /var/lib/mock/dist-an8.6-build-81851-41312/root/chroot_tmpdir/scmroot/wget Cloning into '/var/lib/mock/dist-an8.6-build-81851-41312/root/chroot_tmpdir/scmroot/wget'... $ git reset --hard origin/a8.4 HEAD is now at c2e4eb3 update to wget-1.19.5-10.el8.src.rpm