$ whoami root $ git clone -n http://8.131.229.236/anolis-os/yelp /var/lib/mock/dist-el8-build-6709-154/root/chroot_tmpdir/scmroot/yelp Cloning into '/var/lib/mock/dist-el8-build-6709-154/root/chroot_tmpdir/scmroot/yelp'... $ git reset --hard origin/a8 HEAD is now at 7e2a5ec import yelp-3.28.1-3.el8.src.rpm