$ whoami root $ git clone -n http://8.131.229.236/anolis-os/libosinfo /var/lib/mock/dist-el8-build-6358-104/root/chroot_tmpdir/scmroot/libosinfo Cloning into '/var/lib/mock/dist-el8-build-6358-104/root/chroot_tmpdir/scmroot/libosinfo'... $ git reset --hard origin/a8 HEAD is now at 1f2ee9e import libosinfo-1.5.0-3.el8.src.rpm