$ whoami root $ git clone -n http://8.131.229.236/anolis-os/libmemcached /var/lib/mock/dist-el8-build-6351-102/root/chroot_tmpdir/scmroot/libmemcached Cloning into '/var/lib/mock/dist-el8-build-6351-102/root/chroot_tmpdir/scmroot/libmemcached'... $ git reset --hard origin/a8 HEAD is now at 98692e4 import libmemcached-1.0.18-15.el8.src.rpm