$ whoami root $ git clone -n http://8.131.229.236/anolis-os/qt5-qtdoc /var/lib/mock/dist-el8-build-7024-265/root/chroot_tmpdir/scmroot/qt5-qtdoc Cloning into '/var/lib/mock/dist-el8-build-7024-265/root/chroot_tmpdir/scmroot/qt5-qtdoc'... $ git reset --hard origin/a8 HEAD is now at 33c8203 import qt5-qtdoc-5.12.5-1.el8.src.rpm