$ whoami root $ git clone -n http://8.131.229.236/anolis-os/libcap /var/lib/mock/dist-el8-build-5816-44/root/chroot_tmpdir/scmroot/libcap Cloning into '/var/lib/mock/dist-el8-build-5816-44/root/chroot_tmpdir/scmroot/libcap'... $ git reset --hard origin/a8 HEAD is now at 7debf06 import libcap-2.26-3.el8.src.rpm