$ whoami root $ git clone -n http://8.131.229.236/anolis-os/libkkc /var/lib/mock/dist-el8-build-6346-102/root/chroot_tmpdir/scmroot/libkkc Cloning into '/var/lib/mock/dist-el8-build-6346-102/root/chroot_tmpdir/scmroot/libkkc'... $ git reset --hard origin/a8 HEAD is now at 0811c72 import libkkc-0.3.5-12.el8.src.rpm