$ whoami root $ git clone -n http://8.131.229.236/anolis-os/edk2 /var/lib/mock/dist-el8-build-5685-34/root/chroot_tmpdir/scmroot/edk2 Cloning into '/var/lib/mock/dist-el8-build-5685-34/root/chroot_tmpdir/scmroot/edk2'... $ git reset --hard origin/a8 HEAD is now at a36a8c8 import edk2-20190829git37eef91017ad-9.el8.src.rpm